summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-01-12 20:34:07 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2002-01-12 20:34:07 +0000
commit454c7f89f53ce84c7415b1641c8455a77bf20ce3 (patch)
treef3cec03a56bd6bb7a41e3c37e500fccc781c4106 /test
parent294d138a053ae7b1ba3ec34dcc996cfd3dcd44b4 (diff)
downloadlibapr-454c7f89f53ce84c7415b1641c8455a77bf20ce3.tar.gz
get the seek position initialized so that the rewind works
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/testdup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testdup.c b/test/testdup.c
index ca1e35963..4649b30a0 100644
--- a/test/testdup.c
+++ b/test/testdup.c
@@ -95,6 +95,7 @@ int main (int argc, char ** argv)
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;