]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix dirent/tst-fdopendir not to presume O_NOATIME exists.
authorRoland McGrath <roland@hack.frob.com>
Fri, 6 Feb 2015 20:23:35 +0000 (12:23 -0800)
committerRoland McGrath <roland@hack.frob.com>
Fri, 6 Feb 2015 20:23:35 +0000 (12:23 -0800)
ChangeLog
dirent/tst-fdopendir.c

index 4ca6759f424e422c2fbef757de7f87261cfd6f4d..28bc6189871d02c583ac8d2f07c437ba7dd5ae31 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-02-06  Roland McGrath  <roland@hack.frob.com>
 
+       * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
+
        * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
 
        * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
index 3cf315d85ce9eb0cc33e803aeab924f220be1610..0780c19916e96d370080be24e8a72d1d3a73a791 100644 (file)
@@ -6,6 +6,9 @@
 #include <stdbool.h>
 #include <string.h>
 
+#ifndef O_NOATIME
+# define O_NOATIME     0
+#endif
 
 static int
 do_test (void)