apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject cvs commit: apr/file_io/win32 open.c
Date Fri, 23 Mar 2001 22:52:31 GMT
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;
       }
   
  
  
  

Mime
View raw message