apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/file_io/win32 seek.c
Date Thu, 14 Mar 2002 22:22:32 GMT
wrowe       02/03/14 14:22:32

  Modified:    file_io/win32 seek.c
  Log:
    Jeff Trawick's seek-bug-fix (fixes and now passes test/filetest.c)
  
  Revision  Changes    Path
  1.23      +3 -1      apr/file_io/win32/seek.c
  
  Index: seek.c
  ===================================================================
  RCS file: /home/cvs/apr/file_io/win32/seek.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- seek.c	13 Mar 2002 20:39:13 -0000	1.22
  +++ seek.c	14 Mar 2002 22:22:32 -0000	1.23
  @@ -81,8 +81,10 @@
               rc = apr_get_os_error();
           else
               rc = APR_SUCCESS;
  -        if (rc == APR_SUCCESS)
  +        if (rc == APR_SUCCESS) {
               thefile->eof_hit = thefile->bufpos = thefile->dataRead = 0;
  +            thefile->filePtr = pos;
  +        }
       }
   
       return rc;
  
  
  

Mime
View raw message