a44421a79fb36cc2036fe116b97ea3bc9590cd0c braney Fri Dec 2 09:34:39 2011 -0800 removed rcsid (#295) diff --git src/lib/tests/udcTest.c src/lib/tests/udcTest.c index 1870469..41d4663 100644 --- src/lib/tests/udcTest.c +++ src/lib/tests/udcTest.c @@ -1,29 +1,28 @@ /* udcTest -- test the URL data cache */ // suggestions from Mark: 1. try setvbuf, to make FILE * unbuffered -- does that help? // 2. *if* need to do own buffering, consider mmap() // (kernel handles buffering) #include <sys/wait.h> #include "common.h" #include "errabort.h" #include "options.h" #include "portable.h" #include "udc.h" -static char const rcsid[] = "$Id: udcTest.c,v 1.2 2009/12/19 01:06:27 angie Exp $"; static struct optionSpec options[] = { {"raBuf", OPTION_BOOLEAN}, {"fork", OPTION_BOOLEAN}, {"protocol", OPTION_STRING}, {"seed", OPTION_INT}, {NULL, 0}, }; boolean raBuf = FALSE; /* exercise the read-ahead buffer */ boolean doFork = FALSE; char *protocol = "ftp"; unsigned int seed = 0; // Local copy (reference file) and URL for testing: