summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-31 20:27:01 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-31 20:27:01 (GMT)
commit1e242a95d01f224024c11b7e6fa5d528697c77b5 (patch)
tree6c2a0787fe85f3541fe96239b7a38e36c58f34ec /Source
parent5305d5aa1a6900c64a5833176b43a21acb13fb30 (diff)
parent7d9204a7e2a1e5ad4c56633ac2ecdcf78e7e5f59 (diff)
downloadCMake-1e242a95d01f224024c11b7e6fa5d528697c77b5.zip
CMake-1e242a95d01f224024c11b7e6fa5d528697c77b5.tar.gz
CMake-1e242a95d01f224024c11b7e6fa5d528697c77b5.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2022-01-31 (9fd1660a)
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/testSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/testSystemTools.cxx b/Source/kwsys/testSystemTools.cxx
index 21d6f04..487da8d 100644
--- a/Source/kwsys/testSystemTools.cxx
+++ b/Source/kwsys/testSystemTools.cxx
@@ -336,7 +336,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(__NetBSD__) || defined(__DragonFly__) || defined(__HOS_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);