From 56606ab3b8d5b097b7c4f09b52b79a2217768ca4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 6 Feb 2015 12:23:35 -0800 Subject: [PATCH] Fix dirent/tst-fdopendir not to presume O_NOATIME exists. --- ChangeLog | 2 ++ dirent/tst-fdopendir.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4ca6759f42..28bc618987 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2015-02-06 Roland McGrath + * 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 . 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 #include +#ifndef O_NOATIME +# define O_NOATIME 0 +#endif static int do_test (void)