Commit Graph

2211 Commits

Author SHA1 Message Date
KWSys Robot 4b661784b4 KWSys Nightly Date Stamp 2010-07-03 00:10:23 -04:00
Brad King c3389d4ce2 KWSys: Avoid Clang optimizer bug in testProcess-[45]
Clang's optimizer, as of clang version 2.8 (trunk 107463), produces the
undefined instruction 'ud2' for the code "*(int*)0=0" on OS X x86_64.
It causes our crash tests to fail because the child process exits with
an invalid instruction instead of a segmentation fault.  Work around the
bug by using "*(int*)1=0" in this case.
2010-07-02 14:00:04 -04:00
KWSys Robot 9f3524f469 KWSys Nightly Date Stamp 2010-07-02 00:10:19 -04:00
KWSys Robot 6ebb4843a6 KWSys Nightly Date Stamp 2010-07-01 00:10:21 -04:00
Brad King 3b26fa13c4 KWSys: Optionally suppress consistent test failures
Add option KWSYS_TEST_BOGUS_FAILURES that can be set by a containing
project or in the CMake cache to list tests known to fail consistently
on a buggy system.
2010-06-30 11:42:08 -04:00
Brad King b84220b287 KWSys: Use short fallback timeout for Process tests
If any of the KWSys Process tests take more than a minute or two then
something is wrong.  There is no need to wait for a long default
timeout.
2010-06-30 11:41:59 -04:00
KWSys Robot b65cd9b70b KWSys Nightly Date Stamp 2010-06-30 00:10:24 -04:00
Brad King 5c16024fbb KWSys: Pass ptrdiff_t check result to System.c
Since commit "Provide unix-sytle command line parsing" (2009-07-13) the
reference to KWSYS_C_HAS_PTRDIFF_T in System.c has been meaningless
because the macro was never passed to the compiler!
2010-06-29 08:50:03 -04:00
Brad King d2222d529d KWSys: Cleanup putenv leak option implementation
Define KWSYS_DO_NOT_CLEAN_PUTENV only for the implementation.  It does
not need to be configured in the interface of "Configure.hxx".
2010-06-29 08:50:03 -04:00
KWSys Robot 198e00f6e8 KWSys Nightly Date Stamp 2010-06-29 00:10:22 -04:00
KWSys Robot a55aee5cdd KWSys Nightly Date Stamp 2010-06-28 00:10:23 -04:00
KWSys Robot 4745f4996b KWSys Nightly Date Stamp 2010-06-27 00:10:22 -04:00
KWSys Robot b699509aee KWSys Nightly Date Stamp 2010-06-26 00:10:24 -04:00
KWSys Robot da0190a4a7 KWSys Nightly Date Stamp 2010-06-25 00:10:17 -04:00
KWSys Robot 0d400c373e KWSys Nightly Date Stamp 2010-06-24 00:01:06 -04:00
KWSys Robot b141862564 KWSys Nightly Date Stamp 2010-06-23 00:01:16 -04:00
KWSys Robot d7770578d1 KWSys Nightly Date Stamp 2010-06-22 00:01:22 -04:00
KWSys Robot e45a600a0f KWSys Nightly Date Stamp 2010-06-21 00:01:04 -04:00
KWSys Robot dc2f8590d1 KWSys Nightly Date Stamp 2010-06-20 00:01:04 -04:00
KWSys Robot 10c84dc10e KWSys Nightly Date Stamp 2010-06-19 00:01:04 -04:00
KWSys Robot abe355ef1c KWSys Nightly Date Stamp 2010-06-18 00:01:02 -04:00
KWSys Robot d7f8df694a KWSys Nightly Date Stamp 2010-06-17 00:01:03 -04:00
KWSys Robot 2da22e7f5c KWSys Nightly Date Stamp 2010-06-16 00:01:04 -04:00
KWSys Robot d714b18ac5 KWSys Nightly Date Stamp 2010-06-15 00:01:07 -04:00
KWSys Robot f7f8396337 KWSys Nightly Date Stamp 2010-06-14 00:01:03 -04:00
KWSys Robot 8d29fa46ab KWSys Nightly Date Stamp 2010-06-13 00:01:02 -04:00
KWSys Robot a7abcd1442 KWSys Nightly Date Stamp 2010-06-12 00:01:05 -04:00
Brad King b9e3c243d4 KWSys: Teach Process to error on empty command
Do not try to execute a child with no command line.  Previously this led
to a silent hang.
2010-06-11 11:00:38 -04:00
Brad King 60478de3e5 KWSys: Process tree kill for Solaris 2010-06-11 10:15:19 -04:00
KWSys Robot 6ce85691eb KWSys Nightly Date Stamp 2010-06-11 00:01:32 -04:00
Brad King 3f92947524 KWSys: Configure DynamicLoader library prefix/suffix
The DynamicLoader::LibPrefix and DynamicLoader::LibExtension methods
previously hard-coded the module name components for each platform.  Set
them from the CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX
CMake variables instead.  This ensures consistency in a program that
uses these methods to construct the file names for its own modules.
2010-06-10 09:26:32 -04:00
KWSys Robot c452d5b646 KWSys Nightly Date Stamp 2010-06-10 00:01:03 -04:00
KWSys Robot 86de1d6504 KWSys Nightly Date Stamp 2010-06-09 00:01:09 -04:00
KWSys Robot ddf0de132b KWSys Nightly Date Stamp 2010-06-08 00:01:03 -04:00
KWSys Robot 2847d86c68 KWSys Nightly Date Stamp 2010-06-07 00:01:04 -04:00
KWSys Robot c06dae9e67 KWSys Nightly Date Stamp 2010-06-06 00:01:03 -04:00
KWSys Robot dc6ed8ee8c KWSys Nightly Date Stamp 2010-06-05 00:01:03 -04:00
Brad King ac17dc4a43 KWSys: Remove "copyPermissions" parameters
The CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory
methods should always copy permissions.  The special cases in which a
caller would pass copyPermissions=false should be handled at the call
site.  The parameter needlessly complicates the interface and semantics
of these methods.
2010-06-04 16:02:00 -04:00
KWSys Robot 5f4ac98bc5 KWSys Nightly Date Stamp 2010-06-04 00:01:03 -04:00
Brad King c15ed3294c KWSys: Avoid stat in CopyFileAlways (#10790)
On Windows 7 the file size reported by 'stat' on a new file sometimes
reports zero even though the real size is correct.  This causes our
CopyFileAlways method to falsely detect copy failure.  Work around the
problem by trusting the state of ofstream after writing the file.
2010-06-03 12:46:11 -04:00
KWSys Robot 3ac3dea6f0 KWSys Nightly Date Stamp 2010-06-03 00:01:02 -04:00
KWSys Robot eaee8a2cb1 KWSys Nightly Date Stamp 2010-06-02 00:01:04 -04:00
KWSys Robot 7f619608d5 KWSys Nightly Date Stamp 2010-06-01 00:01:05 -04:00
KWSys Robot b9e5faf618 KWSys Nightly Date Stamp 2010-05-31 00:01:07 -04:00
KWSys Robot f034094e90 KWSys Nightly Date Stamp 2010-05-30 00:01:11 -04:00
KWSys Robot 6e8aa44327 KWSys Nightly Date Stamp 2010-05-29 00:01:04 -04:00
KWSys Robot e6efd9ac0a KWSys Nightly Date Stamp 2010-05-28 00:01:03 -04:00
KWSys Robot 282a119e35 KWSys Nightly Date Stamp 2010-05-27 00:01:10 -04:00
KWSys Robot 515339f313 KWSys Nightly Date Stamp 2010-05-26 00:01:04 -04:00
KWSys Robot d5e86a5f45 KWSys Nightly Date Stamp 2010-05-25 00:01:03 -04:00
KWSys Robot 41e675a045 KWSys Nightly Date Stamp 2010-05-24 00:01:06 -04:00
KWSys Robot 37fb1f3690 KWSys Nightly Date Stamp 2010-05-23 00:01:05 -04:00
KWSys Robot ba88271427 KWSys Nightly Date Stamp 2010-05-22 00:01:12 -04:00
KWSys Robot 45e6aee72c KWSys Nightly Date Stamp 2010-05-21 00:01:14 -04:00
KWSys Robot b71b3b710f KWSys Nightly Date Stamp 2010-05-20 00:01:02 -04:00
KWSys Robot 6138ff02ed KWSys Nightly Date Stamp 2010-05-19 00:01:03 -04:00
KWSys Robot 3d784cc752 KWSys Nightly Date Stamp 2010-05-18 00:01:07 -04:00
KWSys Robot 0559c4e04e KWSys Nightly Date Stamp 2010-05-17 13:24:39 -04:00
KWSys Robot f9f2e61e27 KWSys Nightly Date Stamp 2010-05-17 13:24:25 -04:00
KWSys Robot b81727621a KWSys Nightly Date Stamp 2010-05-14 00:01:02 -04:00
KWSys Robot f7abdff721 KWSys Nightly Date Stamp 2010-05-13 00:01:03 -04:00
Bill Hoffman 0b5288849f Silence warnings on sgi compiler. 2010-05-12 09:37:42 -04:00
KWSys Robot 8ce275fee5 KWSys Nightly Date Stamp 2010-05-12 00:01:13 -04:00
Brad King 83d3b1e427 KWSys: Process tree kill for kFreeBSD, GNU/Hurd
kFreeBSD and Hurd have the same userland as Linux.  This change is
necessary to enable kwsysProcessKill() to kill child processes on
kFreeBSD.  The bug was detected by CTestTestTimeout test.

Patch from "Modestas Vainius <modestas@vainius.eu>".
See issue #10432.
2010-05-11 13:34:54 -04:00
KWSys Robot 408bf244dd KWSys Nightly Date Stamp 2010-05-11 00:01:04 -04:00
KWSys Robot e30279e7de KWSys Nightly Date Stamp 2010-05-10 00:01:04 -04:00
KWSys Robot dedbe6fd48 KWSys Nightly Date Stamp 2010-05-09 00:01:03 -04:00
KWSys Robot ed81b62eff KWSys Nightly Date Stamp 2010-05-08 00:01:02 -04:00
KWSys Robot 162597e4bf KWSys Nightly Date Stamp 2010-05-07 00:01:12 -04:00
KWSys Robot 0ac7f85d20 KWSys Nightly Date Stamp 2010-05-06 00:01:03 -04:00
KWSys Robot 0bf998a46b KWSys Nightly Date Stamp 2010-05-05 00:01:05 -04:00
Bill Hoffman e2c496e2af Fix for bug #10542, allow this to build on Tru64 2010-05-04 14:43:43 -04:00
KWSys Robot f20fd583d8 KWSys Nightly Date Stamp 2010-05-04 00:01:02 -04:00
KWSys Robot 0b7206dd23 KWSys Nightly Date Stamp 2010-05-03 00:01:03 -04:00
KWSys Robot 5272d0dd8c KWSys Nightly Date Stamp 2010-05-02 00:01:03 -04:00
KWSys Robot 42c40884d2 KWSys Nightly Date Stamp 2010-05-01 00:01:12 -04:00
KWSys Robot d4c95316ee KWSys Nightly Date Stamp 2010-04-30 00:01:07 -04:00
Bill Hoffman 54319451a5 Make get_stl_prime_list an inline function to avoid duplicate copies of it. 2010-04-29 08:51:39 -04:00
KWSys Robot 7b7bf9344c KWSys Nightly Date Stamp 2010-04-29 00:01:07 -04:00
Bill Hoffman a170690fd2 Fix for bug #10550, work around instantiation out of scope 2010-04-28 17:42:22 -04:00
KWSys Robot 46bc8fc739 KWSys Nightly Date Stamp 2010-04-28 00:01:02 -04:00
KWSys Robot 32856c1be4 KWSys Nightly Date Stamp 2010-04-27 00:01:03 -04:00
KWSys Robot 07bd06bce3 KWSys Nightly Date Stamp 2010-04-26 00:01:03 -04:00
KWSys Robot 3d5d76fd88 KWSys Nightly Date Stamp 2010-04-25 00:01:02 -04:00
KWSys Robot f6b271521a KWSys Nightly Date Stamp 2010-04-24 00:01:06 -04:00
KWSys Robot 6c76119777 KWSys Nightly Date Stamp 2010-04-23 00:01:04 -04:00
KWSys Robot e498510de9 KWSys Nightly Date Stamp 2010-04-22 00:01:16 -04:00
KWSys Robot 45d9106eef KWSys Nightly Date Stamp 2010-04-21 00:01:03 -04:00
KWSys Robot 22e9f2d0ab KWSys Nightly Date Stamp 2010-04-20 00:01:03 -04:00
Brad King 60de059bff KWSys Process: Add OpenBSD process tree kill support
Patch from Chuck Atkins <chuck.atkins@kitware.com>
2010-04-19 16:30:37 -04:00
Brad King 43072405e2 KWSys SharedForward: Add OpenBSD support
Patch from Chuck Atkins <chuck.atkins@kitware.com>
2010-04-19 16:30:23 -04:00
KWSys Robot 2c156fd18c KWSys Nightly Date Stamp 2010-04-19 00:01:03 -04:00
KWSys Robot 67c42804b9 KWSys Nightly Date Stamp 2010-04-18 00:01:05 -04:00
KWSys Robot c178660d96 KWSys Nightly Date Stamp 2010-04-17 00:01:03 -04:00
KWSys Robot 8df8fd8868 KWSys Nightly Date Stamp 2010-04-16 00:01:05 -04:00
KWSys Robot e04daebd73 KWSys Nightly Date Stamp 2010-04-15 00:01:03 -04:00
KWSys Robot 13e6b430ff KWSys Nightly Date Stamp 2010-04-14 00:01:08 -04:00
KWSys Robot f9bdbf8fd3 KWSys Nightly Date Stamp 2010-04-13 00:01:06 -04:00
KWSys Robot c70850de6d KWSys Nightly Date Stamp 2010-04-12 00:01:04 -04:00
KWSys Robot d33303f22f KWSys Nightly Date Stamp 2010-04-11 00:01:02 -04:00
KWSys Robot c55814170e KWSys Nightly Date Stamp 2010-04-10 00:01:11 -04:00
David Cole 018c13ff73 Patch to avoid short name usage where possible. Get the actual case spelling of a file name on 'Windows' without converting to short name and back again. Avoids bad behavior reported in http://bugs.winehq.org/show_bug.cgi?id=22286 when using cmake under a wine/msys/mingw installation on a Linux box. Thanks to Clinton Stimpson for preparing the patch. 2010-04-09 12:15:06 -04:00
KWSys Robot f468b50e9a KWSys Nightly Date Stamp 2010-04-09 00:01:04 -04:00
KWSys Robot e93b737dd5 KWSys Nightly Date Stamp 2010-04-08 00:01:05 -04:00
KWSys Robot 8ca2fa78b4 KWSys Nightly Date Stamp 2010-04-07 00:01:02 -04:00
KWSys Robot 3917de0998 KWSys Nightly Date Stamp 2010-04-06 00:01:04 -04:00
KWSys Robot ca41b71f0d KWSys Nightly Date Stamp 2010-04-05 00:01:03 -04:00
KWSys Robot 200d40acd1 KWSys Nightly Date Stamp 2010-04-04 00:01:04 -04:00
KWSys Robot ba559a3454 KWSys Nightly Date Stamp 2010-04-03 00:01:03 -04:00
KWSys Robot a63dc3271a KWSys Nightly Date Stamp 2010-04-02 00:01:04 -04:00
KWSys Robot faf30c2502 KWSys Nightly Date Stamp 2010-04-01 00:01:02 -04:00
KWSys Robot e101d9f14e KWSys Nightly Date Stamp 2010-03-31 00:01:05 -04:00
KWSys Robot d0b510900d KWSys Nightly Date Stamp 2010-03-30 00:01:03 -04:00
KWSys Robot 2a2a923ec9 KWSys Nightly Date Stamp 2010-03-29 00:01:04 -04:00
KWSys Robot 7a17b72e2c KWSys Nightly Date Stamp 2010-03-28 00:01:03 -04:00
KWSys Robot 9e74971c5f KWSys Nightly Date Stamp 2010-03-27 00:01:03 -04:00
Dave Partyka 9345833272 BUG: Commit a fix from Rusty to address incorrectly reported memory queries. 2010-03-26 14:18:24 -04:00
KWSys Robot a8abb30c38 KWSys Nightly Date Stamp 2010-03-26 00:01:08 -04:00
KWSys Robot 4273cd9767 KWSys Nightly Date Stamp 2010-03-25 00:01:04 -04:00
KWSys Robot d086218658 KWSys Nightly Date Stamp 2010-03-24 00:01:03 -04:00
KWSys Robot a72b2ccb4c KWSys Nightly Date Stamp 2010-03-23 14:17:23 -04:00
Pat Marion fc4e7dcec0 ENH: Adding symbol for cray compute linux to DynamicLoader.cxx 2010-03-22 10:54:18 -04:00
KWSys Robot 9fd6916362 KWSys Nightly Date Stamp 2010-03-22 00:01:03 -04:00
KWSys Robot 23eb9c9ade KWSys Nightly Date Stamp 2010-03-21 00:01:03 -04:00
KWSys Robot ae58811523 KWSys Nightly Date Stamp 2010-03-20 00:01:03 -04:00
KWSys Robot 40cb9c89d7 KWSys Nightly Date Stamp 2010-03-19 00:01:05 -04:00
Brad King 1560d9dcca KWSys: Enable process tree killing on kFreeBSD
Teach kwsysProcessKill to identify processes on this platform using the "ps"
command just as on Linux.  Patch from Modestas Vainius <modax@debian.org>.
See issue #10432.
2010-03-18 08:43:05 -04:00
KWSys Robot f1d801e4ea KWSys Nightly Date Stamp 2010-03-18 00:01:05 -04:00
KWSys Robot 7f98d73457 KWSys Nightly Date Stamp 2010-03-17 00:01:03 -04:00
KWSys Robot 7881a9f9a6 KWSys Nightly Date Stamp 2010-03-16 00:01:03 -04:00
KWSys Robot 34ebee5922 KWSys Nightly Date Stamp 2010-03-15 00:01:03 -04:00
KWSys Robot 41ee399fa6 KWSys Nightly Date Stamp 2010-03-14 00:01:04 -05:00
KWSys Robot 84df478a31 KWSys Nightly Date Stamp 2010-03-13 00:01:04 -05:00
KWSys Robot b452e65526 KWSys Nightly Date Stamp 2010-03-12 00:01:11 -05:00
KWSys Robot a4f798d3f7 KWSys Nightly Date Stamp 2010-03-11 00:01:04 -05:00
KWSys Robot d8338e491a KWSys Nightly Date Stamp 2010-03-10 00:01:04 -05:00
KWSys Robot f9213722f3 KWSys Nightly Date Stamp 2010-03-09 00:01:04 -05:00
KWSys Robot e67acbfc01 KWSys Nightly Date Stamp 2010-03-08 00:01:08 -05:00
KWSys Robot 98f2170c4a KWSys Nightly Date Stamp 2010-03-07 00:01:06 -05:00
KWSys Robot 71a74b4ba9 KWSys Nightly Date Stamp 2010-03-06 00:01:06 -05:00
KWSys Robot 0922d4f3f2 KWSys Nightly Date Stamp 2010-03-05 00:01:03 -05:00
KWSys Robot 6a15677a5b KWSys Nightly Date Stamp 2010-03-04 00:01:04 -05:00
KWSys Robot adca29a5be KWSys Nightly Date Stamp 2010-03-03 00:01:03 -05:00
KWSys Robot 634c3113ed KWSys Nightly Date Stamp 2010-03-02 00:01:02 -05:00
KWSys Robot efa4eb446e KWSys Nightly Date Stamp 2010-03-01 00:01:06 -05:00
KWSys Robot 6474692076 KWSys Nightly Date Stamp 2010-02-28 00:01:03 -05:00
KWSys Robot fc871caebb KWSys Nightly Date Stamp 2010-02-27 00:01:04 -05:00
KWSys Robot 55f012989c KWSys Nightly Date Stamp 2010-02-26 00:01:03 -05:00
KWSys Robot c63e4bd9be KWSys Nightly Date Stamp 2010-02-25 00:01:06 -05:00
KWSys Robot c38ffcf98c KWSys Nightly Date Stamp 2010-02-24 00:01:02 -05:00
KWSys Robot 73395fb0eb KWSys Nightly Date Stamp 2010-02-23 00:01:05 -05:00
KWSys Robot 6c300a04c4 KWSys Nightly Date Stamp 2010-02-22 00:01:04 -05:00
KWSys Robot da402c2f7e KWSys Nightly Date Stamp 2010-02-21 00:01:03 -05:00
KWSys Robot 88a4f2e3ec KWSys Nightly Date Stamp 2010-02-20 00:01:02 -05:00
KWSys Robot 2eeccbe227 KWSys Nightly Date Stamp 2010-02-19 00:01:07 -05:00
KWSys Robot 19c42fb582 KWSys Nightly Date Stamp 2010-02-18 00:01:03 -05:00
KWSys Robot 27dac9fa86 KWSys Nightly Date Stamp 2010-02-17 00:01:05 -05:00
KWSys Robot 71e4fe7c7e KWSys Nightly Date Stamp 2010-02-16 00:01:03 -05:00
KWSys Robot 6301f98664 KWSys Nightly Date Stamp 2010-02-15 00:01:03 -05:00
KWSys Robot 596af9f86d KWSys Nightly Date Stamp 2010-02-14 00:01:03 -05:00
KWSys Robot aa2b217d1d KWSys Nightly Date Stamp 2010-02-13 00:01:05 -05:00
Brad King bf4d2f6cc7 Fix KWSYS_PLATFORM_INFO_TEST when user removes tree
In commit 'Create KWSYS_PLATFORM_INFO_TEST macro' (2009-11-20) we
implemented the macro to use a cache entry to avoid re-running the
try_compile().  However, the output copied from the try_compile is
needed on every configure.  If the user wipes out the build tree but not
the cache file then the try_compile() will not re-run to recreate the
needed file.  We address the problem by teaching the macro to run the
try_compile() whenever its output file does not exist.
2010-02-12 10:46:50 -05:00
KWSys Robot 41273582a5 KWSys Nightly Date Stamp 2010-02-12 00:01:05 -05:00
KWSys Robot b640884db7 KWSys Nightly Date Stamp 2010-02-11 00:01:03 -05:00
KWSys Robot b0c6ca6cc0 KWSys Nightly Date Stamp 2010-02-10 00:01:07 -05:00
KWSys Robot 1b427400d3 KWSys Nightly Date Stamp 2010-02-09 00:01:03 -05:00
KWSys Robot a7666d303c KWSys Nightly Date Stamp 2010-02-08 00:01:04 -05:00
KWSys Robot 7583e57ae5 KWSys Nightly Date Stamp 2010-02-07 00:01:04 -05:00
KWSys Robot 07323b3656 KWSys Nightly Date Stamp 2010-02-06 00:01:04 -05:00
KWSys Robot b3a1a50bc7 KWSys Nightly Date Stamp 2010-02-05 00:01:06 -05:00
KWSys Robot 9ef2491328 KWSys Nightly Date Stamp 2010-02-04 00:01:02 -05:00
KWSys Robot 6fe2376e2d KWSys Nightly Date Stamp 2010-02-02 23:49:22 -05:00
KWSys Robot ccb9053a4e KWSys Nightly Date Stamp 2010-02-01 23:49:31 -05:00
KWSys Robot 17e5e5fcb0 KWSys Nightly Date Stamp 2010-01-31 23:49:33 -05:00
KWSys Robot 977c5c2b2d KWSys Nightly Date Stamp 2010-01-30 23:49:39 -05:00
KWSys Robot 85018330ec KWSys Nightly Date Stamp 2010-01-29 23:49:46 -05:00
KWSys Robot 42c3eb85d6 KWSys Nightly Date Stamp 2010-01-28 23:49:57 -05:00
KWSys Robot addeec72e3 KWSys Nightly Date Stamp 2010-01-27 23:50:04 -05:00
Brad King baf8e99382 KWSys: Remove $Id$ from MD5.c
This CVS keyword was copied into the file with the rest of the
implementation.  It has no meaning outside its original project tree.
2010-01-27 08:51:58 -05:00
KWSys Robot 54cb05238b KWSys Nightly Date Stamp 2010-01-26 23:50:05 -05:00
Dave Partyka f74eb63967 COMP: remove exporting String as VS10 attempts to export its parents (basic_string) which causes all kinds of multiply defined symbols at link time. 2010-01-26 17:19:23 -05:00
KWSys Robot 42d76e8b82 KWSys Nightly Date Stamp 2010-01-25 23:50:10 -05:00
KWSys Robot 9348f626f9 KWSys Nightly Date Stamp 2010-01-24 23:50:16 -05:00
KWSys Robot 0999bd7fb8 KWSys Nightly Date Stamp 2010-01-23 23:50:22 -05:00
KWSys Robot 6e54834215 KWSys Nightly Date Stamp 2010-01-22 23:50:28 -05:00
KWSys Robot 634011f7fa KWSys Nightly Date Stamp 2010-01-21 23:50:33 -05:00
KWSys Robot 8c7b3a21cc KWSys Nightly Date Stamp 2010-01-20 23:50:38 -05:00
KWSys Robot 02dd3a8897 KWSys Nightly Date Stamp 2010-01-19 23:50:47 -05:00
KWSys Robot d23d3fd6dd KWSys Nightly Date Stamp 2010-01-18 23:50:52 -05:00
KWSys Robot a17e32199f KWSys Nightly Date Stamp 2010-01-17 23:51:18 -05:00
KWSys Robot b63b4ae1ea KWSys Nightly Date Stamp 2010-01-16 23:51:06 -05:00
KWSys Robot c04fb498af KWSys Nightly Date Stamp 2010-01-15 23:51:09 -05:00
KWSys Robot 776a8743e0 KWSys Nightly Date Stamp 2010-01-14 23:51:21 -05:00
KWSys Robot 7249e7d553 KWSys Nightly Date Stamp 2010-01-13 23:51:22 -05:00
Brad King 879b47e6ba KWSys: Fix SharedForward on Cygwin without -mwin32
When building on Cygwin without -mwin32, the _WIN32 macro may not be
defined.  SharedForward must still set the PATH environment variable to
ensure runtime dependencies are found.

The 'ldd' wrapping feature uses 'cygcheck' for now since a real ldd tool
is not available in Cygwin 1.5.  We can change to use the real ldd when
we choose to stop supporting legacy Cygwin and require 1.7.
2010-01-13 12:58:34 -05:00
KWSys Robot 113013fe11 KWSys Nightly Date Stamp 2010-01-12 23:51:32 -05:00
Brad King 8d0161c8ff Trust umask for file permissions
Open output files with mode 0666 so that permissions are not more strict
than umask permits.  See issue #10126.
2010-01-12 11:57:01 -05:00
KWSys Robot b5100623f3 KWSys Nightly Date Stamp 2010-01-11 23:51:41 -05:00
KWSys Robot d7eca7093a KWSys Nightly Date Stamp 2010-01-10 23:51:49 -05:00
KWSys Robot d3ddeb808d KWSys Nightly Date Stamp 2010-01-09 23:51:47 -05:00
KWSys Robot 6ea1581dfe KWSys Nightly Date Stamp 2010-01-08 23:51:49 -05:00
KWSys Robot f89b0abad5 KWSys Nightly Date Stamp 2010-01-07 23:51:56 -05:00
KWSys Robot aa658f6a63 KWSys Nightly Date Stamp 2010-01-06 23:52:02 -05:00
Marcus Hanwell 58d82cd5bd COMP: Added missing case for the export macro, thanks to Kenneth Moreland. 2010-01-06 15:31:25 -05:00
Marcus Hanwell b0a0714343 ENH: Added support for building kwsys with GCC visibility support.
When kwsys is built using GCC visibility support can be used. This is similar
to the way that Windows exports symbols in DLLs, and requires projects that
build kwsys to change the default visibility using some compiler flags. See
http://gcc.gnu.org/wiki/Visibility for more details about GCC visibility.
2010-01-06 12:00:36 -05:00
KWSys Robot 4671b39363 KWSys Nightly Date Stamp 2010-01-05 23:52:08 -05:00
KWSys Robot e0d09ef0a8 KWSys Nightly Date Stamp 2010-01-04 23:52:15 -05:00
KWSys Robot 40641e3cba KWSys Nightly Date Stamp 2010-01-03 23:52:20 -05:00
KWSys Robot 827b636393 KWSys Nightly Date Stamp 2010-01-02 23:52:40 -05:00
KWSys Robot d92a43b09a KWSys Nightly Date Stamp 2010-01-01 23:52:33 -05:00
KWSys Robot 79c0485678 KWSys Nightly Date Stamp 2009-12-31 23:52:47 -05:00
KWSys Robot 729ee803d6 KWSys Nightly Date Stamp 2009-12-30 23:52:48 -05:00
KWSys Robot 978de74d6e KWSys Nightly Date Stamp 2009-12-29 23:53:04 -05:00
KWSys Robot 5ce7e35960 KWSys Nightly Date Stamp 2009-12-28 23:52:55 -05:00
KWSys Robot 9e96d80b24 KWSys Nightly Date Stamp 2009-12-27 23:53:18 -05:00
KWSys Robot 2dc2b13e86 KWSys Nightly Date Stamp 2009-12-26 23:53:12 -05:00
KWSys Robot 7d67773d9b KWSys Nightly Date Stamp 2009-12-25 23:53:22 -05:00
KWSys Robot 685b305c7e KWSys Nightly Date Stamp 2009-12-24 23:53:19 -05:00
KWSys Robot 5da839a759 KWSys Nightly Date Stamp 2009-12-23 23:53:25 -05:00
KWSys Robot cab08a19ff KWSys Nightly Date Stamp 2009-12-22 23:53:30 -05:00
KWSys Robot e44bed50de KWSys Nightly Date Stamp 2009-12-21 23:53:38 -05:00
KWSys Robot 24ba4d7e01 KWSys Nightly Date Stamp 2009-12-20 23:53:43 -05:00
KWSys Robot 043ab8d754 KWSys Nightly Date Stamp 2009-12-19 23:53:53 -05:00
KWSys Robot 31cf7f91d2 KWSys Nightly Date Stamp 2009-12-18 23:53:59 -05:00
KWSys Robot 449b9aea23 KWSys Nightly Date Stamp 2009-12-17 23:54:11 -05:00
KWSys Robot 019e6db332 KWSys Nightly Date Stamp 2009-12-16 23:54:25 -05:00
Brad King 56fe170043 KWSys: Improve SharedForward platform table
The SharedForward header contains a preprocessor table mapping from
platform to equivalents for ldd and LD_LIBRARY_PATH.  This commit fixes
the table preprocessor directives to guarantee at most one platform.
This generalizes the commit "Fix compilation of VTK on debian/sparc".
2009-12-16 14:25:46 -05:00
KWSys Robot e800604f34 KWSys Nightly Date Stamp 2009-12-15 23:54:16 -05:00
Brad King 357096d35a KWSys: Build tests after libraries
The TestSharedForward executable and TestDynload module do not actually
link to a KWSys library, but it is nice to build them after the
libraries just like all other test binaries.

This also works around a universal binary bug in Xcode 2.x.  It forgets
to create the output directory for the executable before linking it.  We
avoid the problem by putting the library in the directory first.
2009-12-15 14:15:27 -05:00
KWSys Robot 6adeb340f2 KWSys Nightly Date Stamp 2009-12-14 23:54:21 -05:00
KWSys Robot f7171e2b76 KWSys Nightly Date Stamp 2009-12-13 23:54:25 -05:00
KWSys Robot 36b9e0b984 KWSys Nightly Date Stamp 2009-12-12 23:54:35 -05:00
KWSys Robot f73c7b106e KWSys Nightly Date Stamp 2009-12-11 23:54:39 -05:00
David Cole 146cb98cb0 Add fallback for detecting CPU speed from Windows registry on builds where USE_ASM_INSTRUCTIONS gets defined to 0. (Win64 builds.) Clean up methods to return false when not implemented or when they fail to detect the things they're supposed to detect. This file still needs a lot more work to have a fully working implementation on Win64 builds. Committing it now because it's slightly better than it was, and there is a need for the CPU speed detection code in projects that depend on kwsys. Will file a bug shortly to request that the missing implementations get filled in... 2009-12-11 13:08:29 -05:00
KWSys Robot be12a1ae8f KWSys Nightly Date Stamp 2009-12-10 23:54:42 -05:00
KWSys Robot a082702d84 KWSys Nightly Date Stamp 2009-12-09 23:54:50 -05:00
KWSys Robot 02a8eee3aa KWSys Nightly Date Stamp 2009-12-08 23:54:59 -05:00
Brad King 15316c12f5 KWSys: Remove default exe output path
KWSys should not set variables outside its namespace.  It can honor the
EXECUTABLE_OUTPUT_PATH set by a host project, but tere is no need for it
to set a default in the host project cache.
2009-12-08 11:27:22 -05:00
KWSys Robot dd1a0c0562 KWSys Nightly Date Stamp 2009-12-07 23:55:03 -05:00
KWSys Robot 80b2c30d56 KWSys Nightly Date Stamp 2009-12-06 23:55:09 -05:00
KWSys Robot bc4be86a9d KWSys Nightly Date Stamp 2009-12-05 23:55:13 -05:00
KWSys Robot 0570b3c794 KWSys Nightly Date Stamp 2009-12-04 23:55:18 -05:00
KWSys Robot d2f1dac136 KWSys Nightly Date Stamp 2009-12-03 23:55:24 -05:00
KWSys Robot 5b0f15f509 KWSys Nightly Date Stamp 2009-12-02 23:55:34 -05:00
KWSys Robot cdc9ef3b5a KWSys Nightly Date Stamp 2009-12-01 23:55:35 -05:00
Brad King 1a5f209e62 KWSys: List processes with "ps -ef" on OpenSolaris
In order to kill process trees we need to list all processes to find
those whose parent we are killing.  We implement process listing on
OpenSolaris by using "ps -ef" and parsing the resulting format:

     UID   PID  PPID   C    STIME TTY         TIME CMD
     %*s    %d    %d   %*[^\n]\n
2009-12-01 08:37:14 -05:00
Brad King be36c14bea KWSys: Use "ps -Af" for process list on QNX
In order to kill process trees we need to list all processes to find
those whose parent we are killing.  We implement process listing on QNX
using "ps -Af" and parsing the resulting format:

  UID        PID       PPID  C STIME TTY          TIME CMD
  %*d         %d         %d  %*[^\n]\n
2009-12-01 08:10:22 -05:00
KWSys Robot afef52454e KWSys Nightly Date Stamp 2009-11-30 23:55:43 -05:00
Brad King 2aaa967715 KWSys: Fix process tree kill on 64-bit Windows
We enumerate processes to identify those whose parent is being killed so
that we can recursively kill the children.  Enumeration uses the
Process32(First|Next) windows API functions, which accept PROCESSENTRY32
objects to be filled.  This commit corrects the declaration of the entry
structure to account for its size on 64-bit Windows.
2009-11-30 16:30:19 -05:00
Brad King b21f1eaeae KWSys: Restore SIGSTOP/SIGKILL to end process tree
On UNIX systems we kill a tree of processes by performing a DFS walk of
the tree.  We send SIGSTOP to each process encountered, recursively
handle its children, and then send SIGKILL.

We once used the above approach in the past, but it was removed by the
commit "Do not send both SIGSTOP and SIGKILL when killing a process".
The commit was meant to work-around an OS X 10.3 bug in which the child
would not always honor SIGKILL after SIGSTOP.  At the time we wrongly
assumed that the process tree remains intact after SIGKILL and before
the child is reaped.  In fact the grandchildren may be re-parented to
ppid=1 even before the child is reaped, which causes the DFS walk to
miss them.
2009-11-30 13:14:02 -05:00
KWSys Robot 997f20b93b KWSys Nightly Date Stamp 2009-11-29 23:55:49 -05:00
KWSys Robot b936065084 KWSys Nightly Date Stamp 2009-11-28 23:55:57 -05:00
KWSys Robot d93bd3ac42 KWSys Nightly Date Stamp 2009-11-27 23:56:03 -05:00
KWSys Robot 8e7a630ff6 KWSys Nightly Date Stamp 2009-11-26 23:56:07 -05:00
KWSys Robot e802130fe2 KWSys Nightly Date Stamp 2009-11-25 23:56:11 -05:00
KWSys Robot f81a3dfff2 KWSys Nightly Date Stamp 2009-11-24 23:56:18 -05:00
Zach Mullen 254d267e36 Mac has gettimeofday defined, but cmsys wasn't aware of that, so it was falling back to using time() which only provides second resolution. Fixed to allow usec res. 2009-11-24 14:10:05 -05:00
Brad King a03f801f7f Suppress Intel float-equality test warnings
We suppress Intel warning 1572 because the cases where we do equality
tests are valid.  Since this project does not do numerical computations
we need not worry about real instances against which this warning
protects.
2009-11-24 08:57:06 -05:00
KWSys Robot 24106f8600 KWSys Nightly Date Stamp 2009-11-23 23:56:25 -05:00
Brad King 574902fef2 KWSys: Work-around llvm-gcc-4.2 optimizer bug
Under -O3 optimization this compiler breaks our testProcess.c source file.
We force -O0 for the file to avoid the problem.
2009-11-23 15:31:29 -05:00
KWSys Robot 62acb921f3 KWSys Nightly Date Stamp 2009-11-22 23:56:29 -05:00
KWSys Robot 892accffba KWSys Nightly Date Stamp 2009-11-21 23:56:35 -05:00
KWSys Robot d06ec80d0c KWSys Nightly Date Stamp 2009-11-20 23:56:43 -05:00
Brad King 9ec851bc90 KWSys: Set CMP0003 to NEW
The commit "Enable loose loop constructs in KWSys" set the minimum
required CMake version to 2.4.5.  This regressed the setting of CMP0003,
so we restore it in this commit.
2009-11-20 12:04:08 -05:00
Brad King bbbdf54a35 Fix KWSys FundamentalType for Universal Binaries
The FundamentalType header needs to know type sizes at preprocessing
time.  This commit teaches it to avoid using CHECK_TYPE_SIZE because the
macro does not work for types whose size varies across architectuers in
Mac OS X universal binaries.  Fortunately the Mac compilers provide just
enough information to detect the needed type sizes during preprocessing.

We now use preprocessor macros instead of configuration tests whenever
they are available.  As a side effect this reduces the number of
try-compiles needed with GCC.

See issue #9913.
2009-11-20 08:38:18 -05:00
Brad King 1136b97647 Create KWSYS_PLATFORM_INFO_TEST macro
This macro helps KWSys perform try-compile tests that extract 'INFO'
strings out of compiled binaries.  It works for CMake 2.6 and above.
On CMake 2.4 it always returns an empty list of information values,
so this should be used only as an optimization until 2.6 is required.
2009-11-20 08:37:56 -05:00
Brad King 2d80c9e31a Check for 'long long' without computing size
In KWSys IOStream we need to detect whether 'long long' exists but we do
not need its size.  We avoid using CHECK_TYPE_SIZE because it does not
work for types whose size varies across architectuers in Mac OS X
universal binaries.  See issue #9913.
2009-11-20 08:37:33 -05:00
Brad King 2a789187fc Enable loose loop constructs in KWSys
We set CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in KWSys's CMakeLists.txt file
to enable simpler endif() syntax for CMake 2.4.
2009-11-20 08:37:10 -05:00
KWSys Robot c6f13b97ea KWSys Nightly Date Stamp 2009-11-19 23:56:47 -05:00
KWSys Robot 59334dc8a4 KWSys Nightly Date Stamp 2009-11-18 23:56:53 -05:00
David Cole ba21622048 Fix bogus calls to GetMemoryStatus and GetMemoryStatusEx: need to set the dwLength member of the struct prior to calling. Otherwise it's just a garbage value from the stack. Also, pay attention to return value of GetMemoryStatusEx: if it indicates failure then just return 0 without using any of the other data the call returns. 2009-11-18 11:22:38 -05:00
KWSys Robot 77fddc1f65 KWSys Nightly Date Stamp 2009-11-17 23:57:01 -05:00
KWSys Robot a52ebca54c KWSys Nightly Date Stamp 2009-11-16 23:57:05 -05:00
Bill Hoffman b1fe517688 Try to fix missing size_t on qnx 2009-11-16 17:03:59 -05:00
Luis Ibanez 69fdf711fe COMP: Fixing return type of the Get methods associated with variables that
were changed from "unsigned long" to "size_t" to solve warnings about
      64 bits to 32 bits truncations.
2009-11-16 12:43:44 -05:00
KWSys Robot 8ec9935099 KWSys Nightly Date Stamp 2009-11-15 23:57:13 -05:00
Luis Ibanez 7f601830a2 COMP: Fixing type declarations and type conversions that could potentially
truncate 64 bits types into 32 bits types.
2009-11-15 15:57:06 -05:00
KWSys Robot bc303427bf KWSys Nightly Date Stamp 2009-11-14 23:57:18 -05:00
KWSys Robot 57865607f4 KWSys Nightly Date Stamp 2009-11-13 23:57:24 -05:00
KWSys Robot e28636ba61 KWSys Nightly Date Stamp 2009-11-12 23:57:29 -05:00
KWSys Robot 0a5b247761 KWSys Nightly Date Stamp 2009-11-11 23:57:35 -05:00
KWSys Robot 218bd8553a KWSys Nightly Date Stamp 2009-11-10 23:57:40 -05:00
KWSys Robot f5b7f95c45 KWSys Nightly Date Stamp 2009-11-09 23:57:55 -05:00
KWSys Robot 36197f45ca KWSys Nightly Date Stamp 2009-11-08 23:57:52 -05:00
KWSys Robot 3c17c4117f KWSys Nightly Date Stamp 2009-11-07 23:58:00 -05:00
KWSys Robot a7ba04a8cc KWSys Nightly Date Stamp 2009-11-06 23:58:04 -05:00
KWSys Robot 723453d4aa KWSys Nightly Date Stamp 2009-11-05 23:58:10 -05:00
KWSys Robot 0cdc1e979e KWSys Nightly Date Stamp 2009-11-04 23:58:17 -05:00
KWSys Robot f87bdbf328 KWSys Nightly Date Stamp 2009-11-03 23:58:33 -05:00
KWSys Robot 1b1d954f7e KWSys Nightly Date Stamp 2009-11-02 23:58:29 -05:00
KWSys Robot 66fdf2038c KWSys Nightly Date Stamp 2009-11-01 23:58:34 -05:00
KWSys Robot e2d9595ae9 KWSys Nightly Date Stamp 2009-10-31 23:58:41 -04:00
KWSys Robot b7e25ab3e0 KWSys Nightly Date Stamp 2009-10-30 23:58:46 -04:00
KWSys Robot 4e26159ec2 KWSys Nightly Date Stamp 2009-10-29 23:58:53 -04:00
KWSys Robot 45d0e96694 KWSys Nightly Date Stamp 2009-10-28 23:59:01 -04:00
KWSys Robot e97fc32a63 KWSys Nightly Date Stamp 2009-10-27 23:59:07 -04:00
KWSys Robot 92caf34733 KWSys Nightly Date Stamp 2009-10-26 23:59:12 -04:00
KWSys Robot 3d8784cd52 KWSys Nightly Date Stamp 2009-10-25 23:59:16 -04:00
KWSys Robot 609d27e4fa KWSys Nightly Date Stamp 2009-10-24 23:59:27 -04:00
KWSys Robot f5545899ae KWSys Nightly Date Stamp 2009-10-23 23:59:33 -04:00
KWSys Robot 11d85a5748 KWSys Nightly Date Stamp 2009-10-22 23:59:35 -04:00
KWSys Robot 7b5ae0d282 KWSys Nightly Date Stamp 2009-10-21 23:59:41 -04:00
KWSys Robot 7130628312 KWSys Nightly Date Stamp 2009-10-20 23:59:52 -04:00
KWSys Robot c6a4dce3f4 KWSys Nightly Date Stamp 2009-10-19 23:59:53 -04:00
Alexander Neundorf 5e2851f855 fix two more icpc warnings, ok by Brad (float compared for equality, unused variable)
Alex
2009-10-19 12:57:36 -04:00
KWSys Robot b3b2943662 KWSys Nightly Date Stamp 2009-10-18 23:59:58 -04:00
KWSys Robot 95a25ad8c4 KWSys Nightly Date Stamp 2009-10-18 00:00:07 -04:00
KWSys Robot 772253ecc6 KWSys Nightly Date Stamp 2009-10-17 00:00:11 -04:00
David Cole 847918b38f Better fix for crash on Windows. This time it will even work on Linux, too. That GetLineFromStream method while loop sure is fussy. 2009-10-16 13:23:52 -04:00
David Cole 9578bfc0ef Fix crash on Windows. If input stream is no good, do not try to read a line from it. Return false and an empty line instead... 2009-10-16 11:43:05 -04:00
KWSys Robot 023889cb2c KWSys Nightly Date Stamp 2009-10-16 00:01:00 -04:00
KWSys Robot b5f63c6b7d KWSys Nightly Date Stamp 2009-10-15 00:00:27 -04:00
KWSys Robot 85b2f936d6 KWSys Nightly Date Stamp 2009-10-14 00:00:28 -04:00
KWSys Robot e0230d7bef KWSys Nightly Date Stamp 2009-10-13 00:00:35 -04:00
KWSys Robot 300dcd45a0 KWSys Nightly Date Stamp 2009-10-12 00:00:39 -04:00
KWSys Robot 7eee2f0062 KWSys Nightly Date Stamp 2009-10-11 00:00:45 -04:00
KWSys Robot a450048fd5 KWSys Nightly Date Stamp 2009-10-10 00:00:52 -04:00
Zach Mullen 8fe2738096 Added OS Platform (cpu architecture) detection support to windows systems 2009-10-09 11:10:06 -04:00
KWSys Robot a59e01795d KWSys Nightly Date Stamp 2009-10-09 00:00:57 -04:00
Zach Mullen 2af045dfc5 Trimmed off the newline from sw_vers output on mac, it could cause xml parsing errors if left in 2009-10-08 10:56:55 -04:00
KWSys Robot f3a0fba75e KWSys Nightly Date Stamp 2009-10-08 00:01:02 -04:00
KWSys Robot d542cc01cb KWSys Nightly Date Stamp 2009-10-07 00:01:07 -04:00
Zach Mullen 80533948b2 Fix bus error on mac. Was a result of not having null termination of arg list to sw_vers calls. 2009-10-06 14:55:48 -04:00
Zach Mullen 444e581860 Added better OS information for Mac OS X 2009-10-06 11:46:16 -04:00
KWSys Robot 6b14c1d273 KWSys Nightly Date Stamp 2009-10-06 00:01:05 -04:00
KWSys Robot b783fbd04c KWSys Nightly Date Stamp 2009-10-05 00:01:03 -04:00
KWSys Robot eddfb095f9 KWSys Nightly Date Stamp 2009-10-04 00:01:06 -04:00
KWSys Robot b1686031e4 KWSys Nightly Date Stamp 2009-10-03 00:01:03 -04:00
KWSys Robot 2e78b58d79 KWSys Nightly Date Stamp 2009-10-02 00:01:09 -04:00
KWSys Robot 3810911f56 KWSys Nightly Date Stamp 2009-10-01 00:01:11 -04:00
David Cole a9dcc7fd47 Fix warnings in CMake source code. Suppress warnings in Lexer and Parser files that are 'too hard' to fix. 2009-09-30 11:41:34 -04:00
KWSys Robot 27c04be03a KWSys Nightly Date Stamp 2009-09-30 00:01:27 -04:00
KWSys Robot defd8b87e1 KWSys Nightly Date Stamp 2009-09-29 00:01:07 -04:00
Brad King de955e4b6d Convert KWSys to OSI-approved BSD License
This converts the KWSys license to a pure 3-clause OSI-approved BSD
License.  We drop the previous license clause requiring modified
versions to be plainly marked.  We also update the KWSys copyright to
cover the full development time range.
2009-09-28 11:37:35 -04:00
Brad King 832f0a88f0 Install KWSys Copyright.txt as documentation
This commit adds KWSys configuration option KWSYS_INSTALL_DOC_DIR to
specify the directory for installation of documentation.  We use it to
put the KWSys Copyright.txt file at the location

  ${KWSYS_INSTALL_DOC_DIR}/${KWSYS_NAMESPACE}/Copyright.txt

in the project installation tree.  This helps containing projects meet
the license requirement to distribute the copyright and license with
binary forms.
2009-09-28 11:36:54 -04:00
KWSys Robot f73c769dd6 KWSys Nightly Date Stamp 2009-09-28 00:01:04 -04:00
KWSys Robot babd4c6da8 KWSys Nightly Date Stamp 2009-09-27 00:01:04 -04:00
KWSys Robot 680c780b22 KWSys Nightly Date Stamp 2009-09-26 00:01:04 -04:00
Brad King 9027506b10 Avoid word 'Copyright' in KWSys MD5 encode test
We replace the test text in the kwsys.testEncode test to avoid the word
'Copyright'.  This simplifies grep results for Copyright verification.
2009-09-25 11:19:39 -04:00
KWSys Robot 35c8e2e35e KWSys Nightly Date Stamp 2009-09-25 00:01:08 -04:00
Brad King f10929ae7c Restore KWSys SystemTools _WIN32 state on cygwin
The commit "Fix KWSys SystemTools build on cygwin with -mwin32" tried to
restore the state of the _WIN32 definition that was broken by the commit
"Optimize KWSys SystemTools::FileExists on Windows".  It did so for the
case of building with -mwin32 on cygwin, but since including <windows.h>
defines _WIN32, it failed for the case of not using -mwin32.

This commit restores the state of _WIN32 in all cases by undefining it
after including <windows.h> if it was not defined beforehand.
2009-09-24 08:10:46 -04:00
KWSys Robot d6ffe2d512 KWSys Nightly Date Stamp 2009-09-24 00:01:04 -04:00
Brad King 4e121af95e Fix KWSys SystemTools build on cygwin with -mwin32
Commit "Optimize KWSys SystemTools::FileExists on Windows" accidentally
added "#undef _WIN32" when including <windows.h> on cygwin, which breaks
builds using the -mwin32 flag.  This commit removes that line and fixes
the real error it was intended to avoid.
2009-09-23 10:45:00 -04:00
KWSys Robot 07a473d5f5 KWSys Nightly Date Stamp 2009-09-23 00:01:07 -04:00
Bill Hoffman fe57e7252f Can not use cmakedefine in kwsys because bootstrap of cmake does not support it. 2009-09-22 15:59:26 -04:00
Bill Hoffman 472966ed5f Can not use cmakedefine in kwsys because bootstrap of cmake does not support it. 2009-09-22 15:58:13 -04:00
Bill Hoffman e7601ca600 Put a flag in that will stop system tools from deleting system environment memory on exit, as it can cause gcov to crash the programs. 2009-09-22 14:56:33 -04:00
Brad King 9b6c3d0782 Optimize KWSys SystemTools::FileExists on Windows
We optimize this method by using the GetFileAttributesExA native Windows
API to check for file existence when possible.  For real Windows builds
we always use it.  For Cygwin we use cygwin_conv_to_win32_path to get a
native Windows path if possible and otherwise fall back to 'access'.

Cygwin-to-Windows path conversion and cache by Wojciech Migda.
See issue #8826.
2009-09-22 13:02:20 -04:00
KWSys Robot ca29998943 KWSys Nightly Date Stamp 2009-09-22 00:01:03 -04:00
KWSys Robot 004f9931a9 KWSys Nightly Date Stamp 2009-09-21 00:01:04 -04:00