jerenkrantz 02/05/25 15:23:25
Modified: include apr_file_io.h
Log:
The doc doesn't match implementation. Make it consistent with write_full.
Submitted by: Greg Stein
Revision Changes Path
1.123 +3 -2 apr/include/apr_file_io.h
Index: apr_file_io.h
===================================================================
RCS file: /home/cvs/apr/include/apr_file_io.h,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- apr_file_io.h 19 Apr 2002 11:30:45 -0000 1.122
+++ apr_file_io.h 25 May 2002 22:23:25 -0000 1.123
@@ -360,8 +360,9 @@
* is reached. If a char was put back into the stream via ungetc,
* it will be the first character returned.
*
- * It is not possible for both bytes to be read and an APR_EOF or other
- * error to be returned.
+ * It is possible for both bytes to be written and an error to be
+ * returned. And if *bytes_written is less than nbytes, an
+ * accompanying error is _always_ returned.
*
* APR_EINTR is never returned.
*/