Even more glibc O_ modes.
Jarkko Hietaniemi [Mon, 16 Jun 2003 08:05:11 +0000 (08:05 +0000)]
p4raw-id: //depot/perl@19797

ext/Fcntl/Fcntl.pm
ext/Fcntl/Makefile.PL

index 5f9d07a..5da86f6 100644 (file)
@@ -114,13 +114,16 @@ $VERSION = "1.04";
        O_DSYNC
        O_EXCL
        O_EXLOCK
+       O_IGNORE_CTTY
        O_LARGEFILE
        O_NDELAY
        O_NOATIME
        O_NOCTTY
        O_NOFOLLOW
        O_NOINHERIT
+       O_NOLINK
        O_NONBLOCK
+       O_NOTRANS
        O_RANDOM
        O_RAW
        O_RDONLY
index 8422efc..102d1b6 100644 (file)
@@ -19,14 +19,15 @@ my @names = (qw(
               F_UNLCK F_UNSHARE F_WRACC F_WRDNY F_WRLCK O_ACCMODE
               O_ALIAS O_APPEND O_ASYNC O_BINARY O_CREAT O_DEFER
               O_DIRECT O_DIRECTORY O_DSYNC O_EXCL O_EXLOCK
-              O_LARGEFILE O_NDELAY O_NOATIME O_NOCTTY O_NOFOLLOW
-              O_NOINHERIT O_NONBLOCK O_RANDOM O_RAW O_RDONLY O_RDWR
-              O_RSRC O_RSYNC O_SEQUENTIAL O_SHLOCK O_SYNC O_TEMPORARY
-              O_TEXT O_TRUNC O_WRONLY S_ENFMT S_IEXEC S_IFBLK S_IFCHR
-              S_IFDIR S_IFIFO S_IFLNK S_IFREG S_IFSOCK S_IFWHT
-              S_IREAD S_IRGRP S_IROTH S_IRUSR S_IRWXG S_IRWXO S_IRWXU
-              S_ISGID S_ISTXT S_ISUID S_ISVTX S_IWGRP S_IWOTH
-              S_IWRITE S_IWUSR S_IXGRP S_IXOTH S_IXUSR),
+              O_IGNORE_CTTY O_LARGEFILE O_NDELAY O_NOATIME O_NOCTTY
+              O_NOFOLLOW O_NOINHERIT O_NOLINK O_NONBLOCK O_NOTRANS
+              O_RANDOM O_RAW O_RDONLY O_RDWR O_RSRC O_RSYNC
+              O_SEQUENTIAL O_SHLOCK O_SYNC O_TEMPORARY O_TEXT O_TRUNC
+              O_WRONLY S_ENFMT S_IEXEC S_IFBLK S_IFCHR S_IFDIR
+              S_IFIFO S_IFLNK S_IFREG S_IFSOCK S_IFWHT S_IREAD
+              S_IRGRP S_IROTH S_IRUSR S_IRWXG S_IRWXO S_IRWXU S_ISGID
+              S_ISTXT S_ISUID S_ISVTX S_IWGRP S_IWOTH S_IWRITE
+              S_IWUSR S_IXGRP S_IXOTH S_IXUSR),
             {name=>"LOCK_SH", default=>["IV", "1"]},
             {name=>"LOCK_EX", default=>["IV", "2"]},
             {name=>"LOCK_NB", default=>["IV", "4"]},