mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-17 09:11:36 -05:00
KWSys 2025-04-23 (6c76a545)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 6c76a54541999a78c9ce0c9f179bb96eb218a199 (master).
Upstream Shortlog
-----------------
Aditya Vidyadhar Kamath (1):
4cd115f2 testSystemTools: Fix preprocessor condition for AIX
This commit is contained in:
committed by
Brad King
parent
a48e7a6735
commit
43effccf86
@@ -351,7 +351,7 @@ static bool CheckFileOperations()
|
||||
// While we're at it, check proper TestFileAccess functionality.
|
||||
bool do_write_test = true;
|
||||
#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
|
||||
defined(__NetBSD__) || defined(__DragonFly__) || defined(__HOS_AIX__)
|
||||
defined(__NetBSD__) || defined(__DragonFly__) || defined(_AIX)
|
||||
// If we are running as root on POSIX-ish systems (Linux and the BSDs,
|
||||
// at least), ignore this check, as root can always write to files.
|
||||
do_write_test = (getuid() != 0);
|
||||
|
||||
Reference in New Issue
Block a user