httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/file_io/unix readwrite.c
Date Thu, 30 Mar 2000 14:47:11 GMT
rbb         00/03/30 06:47:11

  Modified:    src/lib/apr/file_io/unix readwrite.c
  Log:
  Fix writing to a buffered file.
  Submitted by:	Jon Travis <jtravis@covalent.net>
  Reviewed by:	Ryan Bloom
  
  Revision  Changes    Path
  1.28      +1 -1      apache-2.0/src/lib/apr/file_io/unix/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/readwrite.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- readwrite.c	2000/03/30 00:37:37	1.27
  +++ readwrite.c	2000/03/30 14:47:11	1.28
  @@ -149,7 +149,7 @@
   {
       ap_size_t rv;
   
  -    if (thefile->filedes < 0) {
  +    if (thefile->filedes < 0 && !thefile->buffered) {
           *nbytes = 0;
           return APR_EBADF;
       }
  
  
  

Mime
View raw message