You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2002/03/14 23:22:32 UTC
cvs commit: apr/file_io/win32 seek.c
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;