diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2022-01-31 20:26:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-31 20:27:00 (GMT) |
commit | 7d9204a7e2a1e5ad4c56633ac2ecdcf78e7e5f59 (patch) | |
tree | 3e5c67f720767582a1f67a4f12a9018dac3ae8ad | |
parent | d01d634bc7b848ba0ee8e45972ba1bbccb77f3d1 (diff) | |
download | CMake-7d9204a7e2a1e5ad4c56633ac2ecdcf78e7e5f59.zip CMake-7d9204a7e2a1e5ad4c56633ac2ecdcf78e7e5f59.tar.gz CMake-7d9204a7e2a1e5ad4c56633ac2ecdcf78e7e5f59.tar.bz2 |
KWSys 2022-01-31 (9fd1660a)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 9fd1660a9ddeaf9cb590bfd801c94a7a374ae94b (master).
Upstream Shortlog
-----------------
Aaron Liu (1):
dc6b6641 testSystemTools: apply root-check on AIX
-rw-r--r-- | testSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testSystemTools.cxx b/testSystemTools.cxx index 21d6f04..487da8d 100644 --- a/testSystemTools.cxx +++ b/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); |