You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by st...@apache.org on 2001/03/23 23:52:31 UTC
cvs commit: apr/file_io/win32 open.c
stoddard 01/03/23 14:52:31
Modified: file_io/win32 open.c
Log:
Don't alloc the buffer if the file is opened for non-buffered i/o
Revision Changes Path
1.72 +1 -1 apr/file_io/win32/open.c
Index: open.c
===================================================================
RCS file: /home/cvs/apr/file_io/win32/open.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- open.c 2001/02/16 04:15:39 1.71
+++ open.c 2001/03/23 22:52:30 1.72
@@ -277,7 +277,7 @@
}
else {
(*new)->buffered = 0;
- (*new)->buffer = apr_palloc(cont, APR_FILE_BUFSIZE);
+ (*new)->buffer = NULL;
(*new)->mutex = NULL;
}