diff options
author | Brad King <brad.king@kitware.com> | 2005-06-21 14:33:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-06-21 14:33:57 (GMT) |
commit | 05f5f379a7bb181dfdf6cae3243006e8dcb57c00 (patch) | |
tree | 7cc4b04117708802c8e6dff286d3ec613c800abd /Source/kwsys | |
parent | b25dea9f11b0f625d9a6e00567a3ff58b38b0c4a (diff) | |
download | CMake-05f5f379a7bb181dfdf6cae3243006e8dcb57c00.zip CMake-05f5f379a7bb181dfdf6cae3243006e8dcb57c00.tar.gz CMake-05f5f379a7bb181dfdf6cae3243006e8dcb57c00.tar.bz2 |
BUG: Use sleep(1) instead of usleep(1000000) because some UNIX systems specify that the argument to usleep must be less than 1000000.
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/testProcess.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |