Brad King
0a21abd690
KWSys: Fix SplitPath for leading '\' on Windows
...
Windows paths may begin with a single backslash when the drive letter is
omitted. Recognize this as a root path component.
2010-08-16 09:10:03 -04:00
KWSys Robot
78474d9f24
KWSys Nightly Date Stamp
2010-08-16 00:10:02 -04:00
KWSys Robot
b0d03c9953
KWSys Nightly Date Stamp
2010-08-15 00:10:03 -04:00
KWSys Robot
16168ab0c3
KWSys Nightly Date Stamp
2010-08-14 00:10:02 -04:00
KWSys Robot
34f773ccfe
KWSys Nightly Date Stamp
2010-08-13 00:10:15 -04:00
KWSys Robot
7b632e5ac6
KWSys Nightly Date Stamp
2010-08-12 00:10:13 -04:00
KWSys Robot
39886c405a
KWSys Nightly Date Stamp
2010-08-11 00:10:22 -04:00
KWSys Robot
4308336552
KWSys Nightly Date Stamp
2010-08-10 00:10:03 -04:00
KWSys Robot
c9c4962896
KWSys Nightly Date Stamp
2010-08-09 00:10:02 -04:00
KWSys Robot
43e94787ce
KWSys Nightly Date Stamp
2010-08-08 00:10:03 -04:00
KWSys Robot
fd69b3310d
KWSys Nightly Date Stamp
2010-08-07 00:10:07 -04:00
KWSys Robot
7c20f7b244
KWSys Nightly Date Stamp
2010-08-06 00:10:03 -04:00
KWSys Robot
00893669e5
KWSys Nightly Date Stamp
2010-08-05 00:10:03 -04:00
KWSys Robot
a42a44a5ac
KWSys Nightly Date Stamp
2010-08-04 00:10:25 -04:00
KWSys Robot
8342eacda7
KWSys Nightly Date Stamp
2010-08-03 00:10:03 -04:00
KWSys Robot
de8cc71e13
KWSys Nightly Date Stamp
2010-08-02 00:10:13 -04:00
KWSys Robot
afd32fbded
KWSys Nightly Date Stamp
2010-08-01 00:10:07 -04:00
KWSys Robot
41dbdb71cd
KWSys Nightly Date Stamp
2010-07-31 00:10:08 -04:00
KWSys Robot
c67bf9ec72
KWSys Nightly Date Stamp
2010-07-30 00:10:02 -04:00
KWSys Robot
03b7eff0ea
KWSys Nightly Date Stamp
2010-07-29 00:10:03 -04:00
KWSys Robot
1d98623443
KWSys Nightly Date Stamp
2010-07-28 00:10:05 -04:00
KWSys Robot
13d686331e
KWSys Nightly Date Stamp
2010-07-27 00:10:06 -04:00
KWSys Robot
c457288767
KWSys Nightly Date Stamp
2010-07-26 00:10:02 -04:00
KWSys Robot
5cf80768e1
KWSys Nightly Date Stamp
2010-07-25 00:10:13 -04:00
KWSys Robot
7ed87c3e3e
KWSys Nightly Date Stamp
2010-07-24 00:10:05 -04:00
KWSys Robot
0c084dd899
KWSys Nightly Date Stamp
2010-07-23 00:10:34 -04:00
KWSys Robot
aa1fce9781
KWSys Nightly Date Stamp
2010-07-22 00:10:39 -04:00
KWSys Robot
a2eaf6b415
KWSys Nightly Date Stamp
2010-07-21 00:10:36 -04:00
KWSys Robot
8ef066eea4
KWSys Nightly Date Stamp
2010-07-20 00:10:24 -04:00
KWSys Robot
944f3f73ce
KWSys Nightly Date Stamp
2010-07-19 00:10:33 -04:00
KWSys Robot
0edc7455a1
KWSys Nightly Date Stamp
2010-07-18 00:10:39 -04:00
KWSys Robot
a1c6df5209
KWSys Nightly Date Stamp
2010-07-17 00:10:31 -04:00
KWSys Robot
a3717de48a
KWSys Nightly Date Stamp
2010-07-16 00:10:35 -04:00
KWSys Robot
5bfae86034
KWSys Nightly Date Stamp
2010-07-15 00:10:28 -04:00
KWSys Robot
07defe56ce
KWSys Nightly Date Stamp
2010-07-14 00:10:34 -04:00
KWSys Robot
6327429f55
KWSys Nightly Date Stamp
2010-07-13 00:10:31 -04:00
KWSys Robot
942060cb19
KWSys Nightly Date Stamp
2010-07-12 00:10:33 -04:00
KWSys Robot
7dd6f1d13a
KWSys Nightly Date Stamp
2010-07-11 00:10:27 -04:00
KWSys Robot
92473b32ce
KWSys Nightly Date Stamp
2010-07-10 00:10:26 -04:00
Brad King
70154efef8
KWSys: Avoid undefined behavior in Process crash tests
...
Clang is smart enough to recognize that "*(int*)0=0" invokes undefined
behavior, warns, and produces an "undefined instruction". The message
in commit "Avoid Clang optimizer bug in testProcess-[45]" (2010-07-02)
is incorrect; this is not a Clang bug. It really is undefined
behavior. Use "*(int*)1=0" to produce a crash instead.
2010-07-09 10:40:06 -04:00
KWSys Robot
a1a4a2cb6d
KWSys Nightly Date Stamp
2010-07-09 00:10:23 -04:00
KWSys Robot
d6a8fedfbf
KWSys Nightly Date Stamp
2010-07-08 00:10:22 -04:00
KWSys Robot
f2dc6a664d
KWSys Nightly Date Stamp
2010-07-07 00:10:31 -04:00
KWSys Robot
f74baa4fcf
KWSys Nightly Date Stamp
2010-07-06 00:10:23 -04:00
KWSys Robot
c0468481f8
KWSys Nightly Date Stamp
2010-07-05 00:10:20 -04:00
KWSys Robot
efee95cd71
KWSys Nightly Date Stamp
2010-07-04 00:10:23 -04:00
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