From 05f5f379a7bb181dfdf6cae3243006e8dcb57c00 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 21 Jun 2005 10:33:57 -0400 Subject: BUG: Use sleep(1) instead of usleep(1000000) because some UNIX systems specify that the argument to usleep must be less than 1000000. --- Source/kwsys/testProcess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c index 062287b..acad83f 100644 --- a/Source/kwsys/testProcess.c +++ b/Source/kwsys/testProcess.c @@ -141,7 +141,7 @@ int test7(int argc, const char* argv[]) #if defined(_WIN32) Sleep(1000); #else - usleep(1000000); + sleep(1); #endif fprintf(stdout, "Output on stdout after sleep.\n"); fprintf(stderr, "Output on stderr after sleep.\n"); -- cgit v0.12