1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

KWSys 2021-03-30 (db93a594)

Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit db93a5948e331c8920ac701e35b2f7e283646cae (master).

Upstream Shortlog
-----------------

Lemures Lemniscati (2):
      9a6d6c54 Terminal: Avoid using Windows functions on Cygwin
      4c61b968 SystemTools::FileIsFullPath: Do not accept Windows paths on Cygwin
This commit is contained in:
KWSys Upstream
2021-03-30 09:46:09 -04:00
committed by Brad King
parent 9e556829c8
commit d0b9ffb630
2 changed files with 2 additions and 2 deletions

View File

@@ -3926,7 +3926,7 @@ bool SystemTools::FileIsFullPath(const char* in_name)
bool SystemToolsStatic::FileIsFullPath(const char* in_name, size_t len)
{
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(_WIN32) && !defined(__CYGWIN__)
// On Windows, the name must be at least two characters long.
if (len < 2) {
return false;

View File

@@ -10,7 +10,7 @@
#endif
/* Configure support for this platform. */
#if defined(_WIN32) || defined(__CYGWIN__)
#if defined(_WIN32)
# define KWSYS_TERMINAL_SUPPORT_CONSOLE
#endif
#if !defined(_WIN32)