Przeglądaj źródła

Merge topic 'update-kwsys'

1e242a95d0 Merge branch 'upstream-KWSys' into update-kwsys
7d9204a7e2 KWSys 2022-01-31 (9fd1660a)

Acked-by: Kitware Robot <[email protected]>
Merge-request: !6930
Brad King 3 lat temu
rodzic
commit
012ea11ea4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Source/kwsys/testSystemTools.cxx

+ 1 - 1
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);