mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Remove all S_IS* and S_IF* definitions.
Instead, just include "stat-macros.h".
This commit is contained in:
1 parent
0056eb663e
commit
8836ff8b3c
1 file changed
+2
-8
+2
-8
@@ -1,6 +1,6 @@
|
||||
/* BSD compatible remove directory function for System V
|
||||
|
||||
Copyright (C) 1988, 1990, 1999, 2003 Free Software Foundation, Inc.
|
||||
Copyright (C) 1988, 1990, 1999, 2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -28,13 +28,7 @@
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
#if STAT_MACROS_BROKEN
|
||||
# undef S_ISDIR
|
||||
#endif
|
||||
|
||||
#if !defined(S_ISDIR) && defined(S_IFDIR)
|
||||
# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
||||
#endif
|
||||
#include "stat-macros.h"
|
||||
|
||||
/* rmdir adapted from GNU tar. */
|
||||
|
||||
|
||||
Reference in new issue
Block a user