Commit Graph

183 Commits

Author SHA1 Message Date
Brad King 43225860b6 ENH: Re-arranged handling of the two threads per pipe to improve readability of code. 2004-07-13 16:50:55 -04:00
Brad King a6c9cb9b0d BUG: Fix for read pipe wakeup when child is writing alot of data and may fill the pipe buffer before WriteFile is called. 2004-07-13 16:23:49 -04:00
Brad King 5701282e98 ERR: Fixed missing return warning. Code was not reachable anyway. 2004-07-09 11:49:04 -04:00
Brad King 1d6eecd949 ENH: Added windows implementation of Disown/Detach. 2004-07-07 18:15:20 -04:00
Brad King 55c1c3b33f BUG: Do not disown if process has already been killed or the timeout expired. Also need to call kwsysProcessCleanup to disown. 2004-07-07 17:46:34 -04:00
Brad King ae28d93a72 ENH: Added kwsysProcess_Disown an kwsysProcess_Option_Detach to allow detached processes to be created. Currently implemented only on UNIX. 2004-07-07 17:27:50 -04:00
Brad King 6df06682a5 ERR: Using KWSYSPE_PIPE_BUFFER_SIZE in place of separate bufferSize constant for consistency. 2004-07-07 13:03:56 -04:00
Bill Hoffman bbc9e4a9dc no c++ comments in c 2004-07-04 00:05:04 -04:00
Bill Hoffman 4772d6b649 fix for hp build 2004-07-03 12:00:41 -04:00
Brad King 0ae1970a5e BUG: Need a C-only library for C tests. 2004-07-02 17:39:47 -04:00
Brad King e6145d6878 BUG#392: Implementation of process tree killing for systems with /proc filesystem. 2004-07-02 16:39:29 -04:00
Bill Hoffman 40fbba22a4 ENH: add CMAKE_FILE_PATH, CMAKE_PROGRAM_PATH, CMAKE_LIBRARY_PATH, and search them first, PATH second, and last the paths listed in the FIND call 2004-06-30 11:31:41 -04:00
Bill Hoffman 32ccf38c58 BUG: undo last bug fix because it breaks cmake, rebuild_cache on ParaView gets tons of errors about not being able to create the bin directory 2004-06-07 21:41:53 -04:00
Brad King a2949c204d BUG: Do not create a directory on top of a file. 2004-06-07 13:55:20 -04:00
Brad King 23b81b7469 ERR: Do not add the library if no sources are used. 2004-06-04 14:59:05 -04:00
Bill Hoffman 2936c54cdd ENH: make sure find library does not find directories 2004-06-01 12:19:44 -04:00
Brad King b6fb2fe8f9 BUG: Do not wait for children to exit when killing them. Sometimes they do not really die. 2004-05-13 10:08:09 -04:00
Brad King 6c4ab7ec52 ENH: Adding native windows process tree kill to ProcessWin32.c. This replaces the ProcessWin32Kill.c implementation. 2004-05-10 14:54:22 -04:00
Brad King dd70c8f82d ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 13:38:33 -04:00
Brad King 5017fc66e5 ENH: Renaming kwsys macro to kwsys_ns to work around borland preprocessor bug. 2004-05-10 13:15:45 -04:00
Brad King 914a9fb3b4 ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 13:10:57 -04:00
Bill Hoffman 568c921673 ENH: remove extra include for compile with mingw 2004-05-10 12:08:01 -04:00
Bill Hoffman 9c0411b4f2 ENH: change to c code so it can be built with mingw 2004-05-10 12:06:24 -04:00
Bill Hoffman 2c4922f558 ENH: remove unused include file so it will build with mingw 2004-05-10 11:04:23 -04:00
Andy Cedilnik 8da9b14cc6 ERR: On Borland preprocessor goes into recursion which adds some weid spaces in the include name. This fixes it 2004-05-07 14:22:48 -04:00
Bill Hoffman 99a1ec6c6d BUG: make sure the correct state is set for expired processes 2004-05-07 12:52:46 -04:00
Brad King db4fd2a15d ENH: Adding process tree killing for Win32 process execution. 2004-05-06 15:34:04 -04:00
Brad King 7de6edc686 ERR: Added units to SetTimeout documentation. 2004-05-06 14:30:00 -04:00
Bill Hoffman 8d41f97ff6 BUG: fix collapse full path to handle a file in the root directory 2004-05-06 10:29:29 -04:00
Bill Hoffman 94f6dfb8a6 ENH: remove warnings 2004-04-30 10:32:45 -04:00
Brad King 5601afe384 ENH: Added automatic adjustment of C++ flags to include -timplicit_local and -no_implicit_include for the Compaq compiler on OSF. 2004-04-29 17:44:52 -04:00
Andy Cedilnik d5763a8c98 BUG: Most of time when asking if file exists, we actually want to read it... Should fix Bug #809 - FIND_INCLUDE should check readability 2004-04-29 13:25:02 -04:00
Andy Cedilnik 161c31bc2b ERR: Verify that getenv returned something before using it 2004-04-22 14:11:25 -04:00
Bill Hoffman d59e06595c BUG: fix for 301 CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH env vars now used in FIND_LIBRARY and FIND_PATH in addtion to and before PATH 2004-04-22 13:24:20 -04:00
Andy Cedilnik 00095676cc BUG: Prevent crash when the current working directory cannot be established 2004-04-21 10:33:07 -04:00
Brad King cb90652dca ENH: Added comment for future work to make forwarding executable always statically linked. 2004-04-01 15:28:18 -05:00
Andy Cedilnik 9e8a45d106 ENH: Always include KWSys header files directory 2004-03-15 14:54:26 -05:00
Brad King aeea4895a5 ERR: SIGSEGV == SIGBUS on BeOS. 2004-03-12 14:43:32 -05:00
Bill Hoffman f7ce654912 ENH: change mingw to use libfoo.dll instead of foo.dll since it can link to them 2004-02-13 10:51:44 -05:00
Brad King 41c8677a95 ERR: Fixed use of _findfirst for MSVC 6. 2004-02-12 13:38:18 -05:00
Ken Martin 012a14de69 fix incorrect signature for findfirst 2004-02-12 11:23:41 -05:00
Bill Hoffman 6223d60085 Fix install test fail on mingw 2004-02-12 09:13:31 -05:00
Andy Cedilnik 729e2a427a BUG: Like cygwin, mingw does not produce .lib file for shared libraries, so search for dll when searching for library 2004-02-12 08:58:51 -05:00
Andy Cedilnik ff6bc56616 ENH: On Cygwin shared libraries have only .dll file no .lib file, so when finding library on cygwin, search also for .dll. Also fix SimpleInstall test on cygwin 2004-02-11 08:28:59 -05:00
Brad King d23636d48b BUG: Corrected detection of exceptional exit code. 2004-01-28 10:59:46 -05:00
Brad King e27ad7eb97 ENH: Added exception string to abnormal termination report. 2004-01-28 10:59:22 -05:00
Bill Hoffman dd7f85a9dc ENH: fix for build on cygwin mingw 2004-01-26 13:32:20 -05:00
Brad King 9651c9d996 ERR: Fixed function prototypes with zero arguments to be C-style. 2004-01-22 14:44:44 -05:00
Andy Cedilnik 9cf5bb4bb0 BUG: If working directory does not exists, exit 2004-01-22 11:16:43 -05:00
Brad King 49bd89fe31 BUG: CopyFileIfDifferent should return success if the files did not differ or if the copy succeeded. It should return failure only if the files were different and the copy failed. 2004-01-22 10:30:01 -05:00