mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 15:29:07 +00:00
Include lstat.h, so that uses of lstat are converted
to uses of rpl_lstat, e.g., on Solaris 9. Otherwise, programs like du (which now uses the openat-enabled fts and hence fstatat) would mistakenly fail to dereference a symlink-to-directory specified with a trailing slash.
This commit is contained in:
parent
ec2631dee1
commit
1ec610ba19
@ -29,6 +29,7 @@
|
||||
|
||||
#include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */
|
||||
#include "fcntl--.h"
|
||||
#include "lstat.h"
|
||||
#include "openat-priv.h"
|
||||
#include "save-cwd.h"
|
||||
#include "unistd--.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user