- Oct 11, 2017
-
-
Rolf Eike Beer authored
-
- 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
-
-
- Sep 21, 2017
-
-
aa9f3a82 macOS: Account for deployment target when checking for utimensat Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !49
-
- Sep 20, 2017
-
-
Brad King authored
The SDK for macOS 10.13 adds `utimensat`, but the symbol is not available at runtime on older macOS versions. Check the deployment target before using the symbol. Issue: cmake/cmake#17101
-
- Sep 14, 2017
-
-
c8cfe4e0 SystemTools: Drop SplitProgramFromArgs function Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !48
-
- Sep 11, 2017
-
-
Brad King authored
This was used only by CMake's get_filename_components() command, which has now been re-implemented independently. The operation is not well-defined (string parsing should not depend on filesystem content), so remove it.
-
- Sep 01, 2017
-
-
80652055 Directory: Use Windows Extended Paths Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !47
-
- Aug 11, 2017
-
-
da61baff Added cmake settable property to enable the macro 6d73752d Allow KWSYSPE_USE_SELECT macro to be overriden at compile time. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !43
-
- Aug 04, 2017
-
-
jdavidberger authored
-
da8a9e65 SystemTools: make GetFilenameName handle either kind of slash Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !46
-
- Aug 03, 2017
-
-
Shawn Waldon authored
Previously trying to parse a windows-style (backslash separated) path on Linux would fail. Make this function handle either kind of separator on both platforms.
-
- Aug 01, 2017
-
-
dfa13188 Fixed a couple of trivial clang -Wunused-macros warnings Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !44
-
- Jul 25, 2017
-
-
Sean McBride authored
-
- Jul 22, 2017
-
-
jdavidberger authored
Some systems / tools don't play nicely with how select is used here.
-
- Jun 29, 2017
-
-
b61faf89 Fix install rules and usage requirements for interface+object libs Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !42
-
- Jun 28, 2017
-
-
Chuck Atkins authored
-
- Jun 27, 2017
-
-
993f0ea4 Add an option to split object and interface libs. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !41
-
- Jun 26, 2017
-
-
Chuck Atkins authored
Introduce the KWSYS_SPLIT_OBJECTS_FROM_INTERFACE option. This will cause the build to generate a separate interface and object library, instead of a static or shared library. This will enable kwsys to be embedded into another library as objects rather than linked as a seperate library while still maintaining the propagation of target usage requirements.
-
- Jun 09, 2017
-
-
7e04a3d2 SystemTools: Remove RemoveEmptyPathElements method Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !39
-
- Jun 08, 2017
-
-
Brad King authored
This method was added recently but we've found another solution for its intended use case. Removing empty path elements can corrupt paths that depend on a trailing empty component to preserve a trailing slash. Since this method was meant to complement SplitPath and JoinPath, update their documentation to explain how they treat empty components.
-