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: svn commit: r109832 -
Date Sun, 05 Dec 2004 07:01:05 GMT
Jeff Trawick wrote:
  > we're hosed here if apr_file_write() can only write part of the data
> (tbytes is < vec[i].iov_len and rv is APR_SUCCESS); don't you also
> need to bail if tbytes < vec[i].iov_len?

Committed r109865 which uses apr_file_write_full() to hopefully write 
the entire iovec.

According to the docs for apr_file_write_full, if it returns in an error 
  condition, you should add the number of bytes written.

-Paul

Mime
View raw message