- Nov 09, 2017
-
-
e9d2b696 SystemTools: Cache only existing path names in GetActualCaseForPath Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !68
-
Non-existent names may be created later with a different case.
-
- Nov 07, 2017
-
-
bfdbfe9b Avoid requiring CMake 3.4 string(APPEND) Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !67
-
- Nov 06, 2017
-
-
Brad King authored
The `string(APPEND)` command was introduced by CMake 3.4, but we still support older versions.
-
9a1d5901 Fix trivial typos in text Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !66
-
- Nov 03, 2017
-
- Nov 02, 2017
-
-
8e428c18 Process: Add function to kill process (and children) with pid Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !65
-
- Nov 01, 2017
-
-
Bryon Bean authored
-
9e0b4d1a SystemTools: set default MakeDirectory permissions mode Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !63
-
90886a99 Process: Fix tests under ubsan 7a4cca11 Process: Refactor test compile flag addition Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !64
-
- Oct 31, 2017
-
-
Brad King authored
UBsan causes our test crash to abort instead. Switch the test to explicitly abort when sanitizers are in use.
-
Brad King authored
-
Domen Vrankar authored
MakeDirectory can create an entire directory structure so it's convenient that we can set the default directory permissions for directories that did not exist beforehand.
-
- Oct 17, 2017
-
-
b4507c9c Remove dead code from Configure.h.in Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !62
-
- Oct 16, 2017
-
-
Remove code that gives the preprocessor trouble when `_FILE_OFFSET_BITS` is not defined, e.g. on 32-bit machines. It was behind `#if 0` anyway.
-
- Oct 12, 2017
-
-
88d4dd4b CommandLineArguments: use std::string in GenerateHelp() Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !60
-
8717ac15 DynamicLoader: use std::string instead of strcpy() + strcat() Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !59
-
749b7506 ProcessUNIX: Use monotonic clock in kwsysProcessTimeGetCurrent() for POSIX Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !57
-
- Oct 11, 2017
-
-
Rolf Eike Beer authored
-
Rolf Eike Beer authored
-
Wouter Klouwen authored
While a process is running, it is possible for other processes such as NTP to alter the system clock in large jumps. To make the measurement of how long a process has taken to run impervious to such large jumps it is helpful to use a monotonic clock. This is a clock that takes an arbitrary starting point that does not change. clock_gettime() is a POSIX method that implements this clock. This is not available on all platforms, so this commit adds a check for its presence. If the monotonic timer is available, use that in kwsysProcessTimeGetCurrent(), otherwise falls back to previous non-monotonic behaviour.
-
- Oct 10, 2017
-
-
5d2aff9d ProcessWin32: use strdup() instead of open coding it cf8beae3 ProcessUNIX: use strdup() instead of open coding it Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !56
-
3b8fefea remove pointer checks before calling free() 6d7eb3a1 CommandLineArguments: do not check variable before delete[] Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !55
-
ce55a255 testSystemTools: fix some copy'n'paste issues 73c491e8 processUNIX: fix not null terminated buffer during error reporting 13e02b76 processUNIX: close intermediate file descriptor in error case 862562ce SystemInformation: fix potential off-by-one write Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !54
-
6599eda6 testRobustEncoding: restore format flags for std::cout before exiting Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !53
-
- Oct 07, 2017
-
-
Rolf Eike Beer authored
-
Rolf Eike Beer authored
-
- Oct 06, 2017
-
-
Rolf Eike Beer authored
-
Rolf Eike Beer authored
-
- Oct 05, 2017
-
-
Matthias Männich authored
-
Matthias Männich authored
-
Matthias Männich authored
-
Matthias Männich authored
in case readlink uses the complete buffer (1024) it will truncate the result and return 1024 assigned to ll. the subsequent buf[ll] will then be out of bounds. the fix assumes, that a truncated result is as useful as experiencing an error during readlink, hence falling back to /proc/self/exe.
-
6ca15069 SystemTools: make Getcwd() more efficient on Windows Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !52
-
Matthias Männich authored
-
- Oct 04, 2017
-
-
Rolf Eike Beer authored
Only do one conversion attempt and write that directly to the target buffer. Do the uppercasing of the drive letter only in the ASCII domain, not in wide chars.
-
- Sep 30, 2017
-
-
41c93d97 Remove unnecessary testIOS Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !51
-
a5046656 SystemTool: remove unused Convert*MacroString() caaef6bb testSystemTools: avoid strcpy() Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !50
-
- Sep 29, 2017
-
-
Rolf Eike Beer authored
-
-