apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Querna <c...@force-elite.com>
Subject Re: Portability of apr_file_writev_full?
Date Thu, 10 Mar 2005 18:33:12 GMT
Joe Orton wrote:
> On Thu, Mar 10, 2005 at 10:01:37AM -0500, Joe Schaefer wrote:
> ...
> 
>>Second, I disagree that SuS v2 makes any guarantees about writev()
>>only writing "complete iovec areas".  I assume a conforming writev() 
>>implementation can hand the single-iovec case off to write().  So if 
>>there's more data in the iovec than the target device can accept,
>>it winds up doing a partial write, successfully.  
> 
> 
> Yes it's broken as you indicate, I pointed this out when it was
> committed... this had dropped off my radar at least.  It needs to call
> apr_file_write_full to complete writing any partially-written buffer, or
> something like that.

Yep, my fault.  It dropped off my radar too.  I will try to fix it this 
weekend.

-Paul


Mime
View raw message