apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/file_io/unix readwrite.c
Date Thu, 18 Apr 2002 14:24:17 GMT
trawick     02/04/18 07:24:17

  Modified:    .        CHANGES
               file_io/unix readwrite.c
  Log:
  Fix a problem with eof reporting with Unix file I/O on
  unbuffered files.
  
  Submitted by:	Stas Bekman <stas@stason.org>
  Reviewed by:	Jeff Trawick
  
  Revision  Changes    Path
  1.259     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.258
  retrieving revision 1.259
  diff -u -r1.258 -r1.259
  --- CHANGES	15 Apr 2002 00:01:09 -0000	1.258
  +++ CHANGES	18 Apr 2002 14:24:16 -0000	1.259
  @@ -1,5 +1,8 @@
   Changes with APR b1
   
  +  *) Fix a problem with eof reporting with Unix file I/O on 
  +     unbuffered files.  [Stas Bekman <stas@stason.org>]
  +
     *) Rename apr_explode_time to apr_time_exp_tz.
        [Thom May <thom@planetarytramp.net>]
   
  
  
  
  1.78      +1 -0      apr/file_io/unix/readwrite.c
  
  Index: readwrite.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/readwrite.c,v
  retrieving revision 1.77
  retrieving revision 1.78
  diff -u -r1.77 -r1.78
  --- readwrite.c	15 Mar 2002 02:25:00 -0000	1.77
  +++ readwrite.c	18 Apr 2002 14:24:17 -0000	1.78
  @@ -207,6 +207,7 @@
   #endif
           *nbytes = bytes_read;
           if (rv == 0) {
  +            thefile->eof_hit = TRUE;
               return APR_EOF;
           }
           if (rv > 0) {
  
  
  

Mime
View raw message