Fix value of O_TMPFILE for architectures with non-default O_DIRECTORY (bug 17912)

This commit is contained in:
Andreas Schwab 2015-02-01 14:04:15 +01:00
parent 28b067571e
commit 59b61c82fe
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2015-02-09 Andreas Schwab <schwab@suse.de>
[BZ #17912]
* sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
in terms of __O_DIRECTORY.
2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
* time/getdate.c: Include <stdbool.h>.

2
NEWS
View File

@ -9,7 +9,7 @@ Version 2.22
* The following bugs are resolved with this release:
17932.
17912, 17932.
Version 2.21

View File

@ -97,7 +97,7 @@
# define __O_DSYNC 010000
#endif
#ifndef __O_TMPFILE
# define __O_TMPFILE 020200000
# define __O_TMPFILE (020000000 | __O_DIRECTORY)
#endif
#ifndef F_GETLK