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 seek.c
Date Mon, 11 Mar 2002 22:17:29 GMT
trawick     02/03/11 14:17:29

  Modified:    .        CHANGES
               file_io/unix seek.c
  Log:
  fix a problem in apr_file_seek on Unix for buffered files
  
  PR:              10003
  
  Revision  Changes    Path
  1.237     +3 -0      apr/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr/CHANGES,v
  retrieving revision 1.236
  retrieving revision 1.237
  diff -u -r1.236 -r1.237
  --- CHANGES	11 Mar 2002 17:22:32 -0000	1.236
  +++ CHANGES	11 Mar 2002 22:17:28 -0000	1.237
  @@ -3,6 +3,9 @@
     *) configure now checks to see if we can change timeout values
        [Ian Holsman]
   
  +  *) Fix a bug in apr_file_seek() on Unix when using buffered
  +     files.  PR 10003 [Jeff Trawick]
  +
     *) Small table performance optimization: eliminate the
        zero-fill of newly allocated elements when expanding
        a table's size. [Brian Pane]
  
  
  
  1.25      +1 -0      apr/file_io/unix/seek.c
  
  Index: seek.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/unix/seek.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- seek.c	28 Aug 2001 16:41:14 -0000	1.24
  +++ seek.c	11 Mar 2002 22:17:29 -0000	1.25
  @@ -74,6 +74,7 @@
   
           if (rc != -1 ) {
               thefile->bufpos = thefile->dataRead = 0;
  +            thefile->filePtr = pos;
               rc = 0;
           }
           else {
  
  
  

Mime
View raw message