diff options
author | Roland McGrath <roland@hack.frob.com> | 2015-02-06 12:23:35 -0800 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2015-02-06 12:23:35 -0800 |
commit | 56606ab3b8d5b097b7c4f09b52b79a2217768ca4 (patch) | |
tree | 770c823af26558e0fbde04f1a03023e89ffa8c56 | |
parent | ebf7d6eedb1969b03187398fe730cc03bdd9aae3 (diff) | |
download | glibc-56606ab3b8d5b097b7c4f09b52b79a2217768ca4.tar.gz glibc-56606ab3b8d5b097b7c4f09b52b79a2217768ca4.tar.xz glibc-56606ab3b8d5b097b7c4f09b52b79a2217768ca4.zip |
Fix dirent/tst-fdopendir not to presume O_NOATIME exists.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | dirent/tst-fdopendir.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 4ca6759f42..28bc618987 100644 --- 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>. diff --git a/dirent/tst-fdopendir.c b/dirent/tst-fdopendir.c index 3cf315d85c..0780c19916 100644 --- a/dirent/tst-fdopendir.c +++ b/dirent/tst-fdopendir.c @@ -6,6 +6,9 @@ #include <stdbool.h> #include <string.h> +#ifndef O_NOATIME +# define O_NOATIME 0 +#endif static int do_test (void) |