Add various *BSD O_ constants.
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 8 Oct 2014 19:08:54 +0000 (21:08 +0200)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 8 Oct 2014 20:37:29 +0000 (22:37 +0200)
ext/Fcntl/Fcntl.pm
ext/Fcntl/Makefile.PL

index cc35ff0..0e671bb 100644 (file)
@@ -177,10 +177,15 @@ XSLoader::load();
        LOCK_READ
        LOCK_RW
        LOCK_WRITE
+        O_ALT_IO
+        O_EVTONLY
        O_IGNORE_CTTY
        O_NOATIME
        O_NOLINK
+        O_NOSIGPIPE
        O_NOTRANS
+        O_SYMLINK
+        O_TTY_INIT
 ), map {@{$_}} values %EXPORT_TAGS);
 
 1;
index cb8a8e6..c42aa51 100644 (file)
@@ -19,14 +19,14 @@ my @names = (qw(
               F_SETLEASE F_SETLK F_SETLK64 F_SETLKW F_SETLKW64
               F_SETOWN F_SETSIG F_SHARE F_SHLCK F_UNLCK F_UNSHARE
               F_WRACC F_WRDNY F_WRLCK LOCK_MAND LOCK_READ LOCK_WRITE
-              LOCK_RW O_ACCMODE O_ALIAS O_APPEND O_ASYNC O_BINARY
-              O_CREAT O_DEFER O_DIRECT O_DIRECTORY O_DSYNC O_EXCL
+              LOCK_RW O_ACCMODE O_ALIAS O_ALT_IO O_APPEND O_ASYNC O_BINARY
+              O_CREAT O_DEFER O_DIRECT O_DIRECTORY O_DSYNC O_EVTONLY O_EXCL
               O_EXLOCK O_IGNORE_CTTY O_LARGEFILE O_NDELAY O_NOATIME
-              O_NOCTTY O_NOFOLLOW O_NOINHERIT O_NOLINK O_NONBLOCK
+              O_NOCTTY O_NOFOLLOW O_NOINHERIT O_NOLINK O_NONBLOCK O_NOSIGPIPE
               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
+              O_SEQUENTIAL O_SHLOCK O_SYMLINK O_SYNC O_TEMPORARY O_TEXT
+              O_TRUNC O_TTY_INIT 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),