rbb 99/11/15 07:05:14
Modified: src/lib/apr/file_io/unix open.c
Log:
This is a needed addition to "putting" files into APR on Unix.
Revision Changes Path
1.23 +2 -0 apache-2.0/src/lib/apr/file_io/unix/open.c
Index: open.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/open.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- open.c 1999/11/10 15:49:53 1.22
+++ open.c 1999/11/15 15:05:12 1.23
@@ -260,7 +260,9 @@
}
/* if we are putting in a new file descriptor, then we don't really
* have any of this information.
+ * We don't allow put'ing buffered files, so we can set that value.
*/
+ (*file)->buffered = 0;
(*file)->eof_hit = 0;
(*file)->timeout = -1;
(*file)->stated = 0;