mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-27 01:44:21 +00:00
(openat_needs_fchdir) [defined __OPENAT_PREFIX]:
Turn this into a macro that always returns true.
This commit is contained in:
parent
39448a239a
commit
ade4e95345
@ -1,3 +1,8 @@
|
||||
2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* openat.h (openat_needs_fchdir) [defined __OPENAT_PREFIX]:
|
||||
Turn this into a macro that always returns true.
|
||||
|
||||
2006-04-15 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* utimens.c (futimens): glibc futimesat messes up if /proc
|
||||
|
||||
@ -75,11 +75,13 @@ DIR *fdopendir (int fd);
|
||||
int fstatat (int fd, char const *file, struct stat *st, int flag);
|
||||
# define unlinkat __OPENAT_ID (unlinkat)
|
||||
int unlinkat (int fd, char const *file, int flag);
|
||||
bool openat_needs_fchdir (void);
|
||||
|
||||
#else
|
||||
|
||||
# define openat_permissive(Fd, File, Flags, Mode, Cwd_errno) \
|
||||
openat (Fd, File, Flags, Mode)
|
||||
# define openat_needs_fchdir() false
|
||||
|
||||
#endif
|
||||
|
||||
@ -115,5 +117,3 @@ lchmodat (int fd, char const *file, mode_t mode)
|
||||
{
|
||||
return fchmodat (fd, file, mode, AT_SYMLINK_NOFOLLOW);
|
||||
}
|
||||
|
||||
bool openat_needs_fchdir (void);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user