Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix dirent/tst-fdopendir not to presume O_NOATIME exists.
  • Loading branch information
Roland McGrath committed Feb 6, 2015
1 parent ebf7d6e commit 56606ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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>.
Expand Down
3 changes: 3 additions & 0 deletions dirent/tst-fdopendir.c
Expand Up @@ -6,6 +6,9 @@
#include <stdbool.h>
#include <string.h>

#ifndef O_NOATIME
# define O_NOATIME 0
#endif

static int
do_test (void)
Expand Down

0 comments on commit 56606ab

Please sign in to comment.