trawick 02/01/12 12:34:08
Modified: test testdup.c
Log:
get the seek position initialized so that the rewind works
Revision Changes Path
1.3 +1 -0 apr/test/testdup.c
Index: testdup.c
===================================================================
RCS file: /home/cvs/apr/test/testdup.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- testdup.c 12 Jan 2002 15:05:18 -0000 1.2
+++ testdup.c 12 Jan 2002 20:34:07 -0000 1.3
@@ -95,6 +95,7 @@
STD_TEST_NEQ(" Write to dup'd file (#3)", apr_file_write(file3, TEST,
&txtlen))
+ fpos = 0;
STD_TEST_NEQ(" Rewind file #1 to start", apr_file_seek(file1,
APR_SET, &fpos))
txtlen = 50;