mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-19 18:26:32 +02:00
[HAVE_LSTAT_EMPTY_STRING_BUG]: Define lstat to rpl_lstat and declare the latter.
This commit is contained in:
@@ -51,6 +51,13 @@ typedef enum {false = 0, true = 1} bool;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* On systems with an lstat function that accepts the empty string,
|
||||
arrange to make lstat calls go through the wrapper function. */
|
||||
#if HAVE_LSTAT_EMPTY_STRING_BUG
|
||||
int rpl_lstat PARAMS((const char *, struct stat *));
|
||||
# define lstat(Name, Stat_buf) rpl_lstat(Name, Stat_buf)
|
||||
#endif
|
||||
|
||||
#ifdef D_INO_IN_DIRENT
|
||||
# define D_INO(dp) ((dp)->d_ino)
|
||||
# define ENABLE_CYCLE_CHECK
|
||||
|
||||
Reference in New Issue
Block a user