Jelajahi Sumber

* added S_IRWXG and S_IRWXU constants to ostypes.inc of linux (defined in sys/stat.h)

git-svn-id: trunk@11797 -
ivost 17 tahun lalu
induk
melakukan
69bd90996b
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      rtl/linux/ostypes.inc

+ 2 - 0
rtl/linux/ostypes.inc

@@ -233,6 +233,8 @@ CONST
     S_IWOTH =  %0000000010;     { Write permission for world  }
     S_IWOTH =  %0000000010;     { Write permission for world  }
     S_IXOTH =  %0000000001;     { Exec permission for world   }
     S_IXOTH =  %0000000001;     { Exec permission for world   }
     S_IRWXU =  S_IRUSR or S_IWUSR or S_IXUSR;
     S_IRWXU =  S_IRUSR or S_IWUSR or S_IXUSR;
+    S_IRWXG =  S_IRGRP or S_IWGRP or S_IXGRP;
+    S_IRWXO =  S_IROTH or S_IWOTH or S_IXOTH;
 
 
     { Used for waitpid }
     { Used for waitpid }
     WNOHANG   =          1;     { don't block waiting               }
     WNOHANG   =          1;     { don't block waiting               }