From: Jarkko Hietaniemi Date: Mon, 16 Jun 2003 07:59:26 +0000 (+0000) Subject: Add O_NOATIME. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=117979aa18cb872a188e3bc9147938ba591860dc;p=p5sagit%2Fp5-mst-13.2.git Add O_NOATIME. p4raw-id: //depot/perl@19796 --- diff --git a/ext/Fcntl/Fcntl.pm b/ext/Fcntl/Fcntl.pm index 6e42367..5f9d07a 100644 --- a/ext/Fcntl/Fcntl.pm +++ b/ext/Fcntl/Fcntl.pm @@ -116,6 +116,7 @@ $VERSION = "1.04"; O_EXLOCK O_LARGEFILE O_NDELAY + O_NOATIME O_NOCTTY O_NOFOLLOW O_NOINHERIT diff --git a/ext/Fcntl/Makefile.PL b/ext/Fcntl/Makefile.PL index 23465b9..8422efc 100644 --- a/ext/Fcntl/Makefile.PL +++ b/ext/Fcntl/Makefile.PL @@ -8,20 +8,24 @@ WriteMakefile( realclean => {FILES=> 'const-c.inc const-xs.inc'}, ); -my @names = (qw(FAPPEND FASYNC FCREAT FDEFER FDSYNC FD_CLOEXEC FEXCL FLARGEFILE - FNDELAY FNONBLOCK FRSYNC FSYNC FTRUNC F_ALLOCSP F_ALLOCSP64 - F_COMPAT F_DUP2FD F_DUPFD F_EXLCK F_FREESP F_FREESP64 F_FSYNC - F_FSYNC64 F_GETFD F_GETFL F_GETLK F_GETLK64 F_GETOWN F_NODNY - F_POSIX F_RDACC F_RDDNY F_RDLCK F_RWACC F_RWDNY F_SETFD F_SETFL - F_SETLK F_SETLK64 F_SETLKW F_SETLKW64 F_SETOWN F_SHARE F_SHLCK - 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_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 +my @names = (qw( + FAPPEND FASYNC FCREAT FDEFER FDSYNC FD_CLOEXEC FEXCL + FLARGEFILE FNDELAY FNONBLOCK FRSYNC FSYNC FTRUNC + F_ALLOCSP F_ALLOCSP64 F_COMPAT F_DUP2FD F_DUPFD F_EXLCK + F_FREESP F_FREESP64 F_FSYNC F_FSYNC64 F_GETFD F_GETFL + F_GETLK F_GETLK64 F_GETOWN F_NODNY F_POSIX F_RDACC + F_RDDNY F_RDLCK F_RWACC F_RWDNY F_SETFD F_SETFL F_SETLK + F_SETLK64 F_SETLKW F_SETLKW64 F_SETOWN F_SHARE F_SHLCK + 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), {name=>"LOCK_SH", default=>["IV", "1"]}, {name=>"LOCK_EX", default=>["IV", "2"]},