* syscalls.cc (fstatat): Call stat_worker directly from here.
This commit is contained in:
parent
4e8f539f15
commit
396561aa0b
|
@ -1,3 +1,7 @@
|
|||
2010-09-10 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* syscalls.cc (fstatat): Call stat_worker directly from here.
|
||||
|
||||
2010-09-10 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* flock.cc (allow_others_to_sync): Define MAX_PROCESS_SD_SIZE. Use
|
||||
|
|
|
@ -4153,7 +4153,10 @@ fstatat (int dirfd, const char *pathname, struct __stat64 *st, int flags)
|
|||
char *path = tp.c_get ();
|
||||
if (gen_full_path_at (path, dirfd, pathname))
|
||||
return -1;
|
||||
return (flags & AT_SYMLINK_NOFOLLOW) ? lstat64 (path, st) : stat64 (path, st);
|
||||
path_conv pc (path, ((flags & AT_SYMLINK_NOFOLLOW)
|
||||
? PC_SYM_NOFOLLOW : PC_SYM_FOLLOW)
|
||||
| PC_POSIX | PC_KEEP_HANDLE, stat_suffixes);
|
||||
return stat_worker (pc, st);
|
||||
}
|
||||
|
||||
extern int utimens_worker (path_conv &, const struct timespec *);
|
||||
|
|
Loading…
Reference in New Issue