From 454c7f89f53ce84c7415b1641c8455a77bf20ce3 Mon Sep 17 00:00:00 2001 From: trawick Date: Sat, 12 Jan 2002 20:34:07 +0000 Subject: 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 --- test/testdup.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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; -- cgit v1.2.1