diff options
author | Brad King <brad.king@kitware.com> | 2005-05-16 17:42:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-05-16 17:42:23 (GMT) |
commit | 26f82b064ce935e429dfcb3fd74bd277640e0b7e (patch) | |
tree | 9d8089bf2c8e500c54df76e66a8bc784c44d0006 /Source | |
parent | 1c95c08ccf6ddc33cf009fd54d0806ec007cd5fa (diff) | |
download | CMake-26f82b064ce935e429dfcb3fd74bd277640e0b7e.zip CMake-26f82b064ce935e429dfcb3fd74bd277640e0b7e.tar.gz CMake-26f82b064ce935e429dfcb3fd74bd277640e0b7e.tar.bz2 |
ENH: Removing previous debug code.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 9 | ||||
-rw-r--r-- | Source/kwsys/testProcess.c | 6 |
2 files changed, 0 insertions, 15 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index 3d0efd4..96e6ea7 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -895,15 +895,6 @@ int kwsysProcess_WaitForData(kwsysProcess* cp, char** data, int* length, break; } -#if defined(__FreeBSD__) - if(timeout && getenv("TEST_PROCESS_4")) - { - fprintf(stderr, "select with timeout %ld %ld\n", - timeout->tv_sec, timeout->tv_usec); - fflush(stderr); - } -#endif - /* Run select to block until data are available. Repeat call until it is not interrupted. */ while(((numReady = select(max+1, &cp->PipeSet, 0, 0, timeout)) < 0) && diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c index 85975cc..d4e498a 100644 --- a/Source/kwsys/testProcess.c +++ b/Source/kwsys/testProcess.c @@ -325,12 +325,6 @@ int main(int argc, const char* argv[]) fprintf(stderr, "Output on stderr before test %d.\n", n); fflush(stdout); fflush(stderr); -#if defined(__FreeBSD__) - if(n == 4) - { - putenv("TEST_PROCESS_4=1"); - } -#endif r = runChild(cmd, states[n-1], exceptions[n-1], values[n-1], 0, outputs[n-1], delays[n-1], timeouts[n-1]); fprintf(stdout, "Output on stdout after test %d.\n", n); |