BUG: Use sleep(1) instead of usleep(1000000) because some UNIX systems specify that the argument to usleep must be less than 1000000.

This commit is contained in:
Brad King 2005-06-21 10:33:57 -04:00
parent b25dea9f11
commit 05f5f379a7
1 changed files with 1 additions and 1 deletions

View File

@ -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");