# HG changeset patch # User Jim Meyering # Date 781577810 0 # Node ID 380a07905792a174bb972cccdd02219e0e7fb36d # Parent 4f4862ac34378d6db2a5aceee3050d58cac2f2df . diff --git a/lib/Makefile.in b/lib/Makefile.in --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -46,7 +46,7 @@ stripslash.o xgetcwd.o xmalloc.o xstrdup.o userspec.o yesno.o \ @LIBOBJS@ @ALLOCA@ -DISTFILES = Makefile.in backupfile.h getopt.h modechange.h \ +DISTFILES = Makefile.in backupfile.h getopt.h long-options.h modechange.h \ fnmatch.h fsusage.h mountlist.h pathmax.h safe-xstat.cin safe-xstat.hin \ getdate.c posixtm.c $(SOURCES) diff --git a/lib/filemode.c b/lib/filemode.c --- a/lib/filemode.c +++ b/lib/filemode.c @@ -28,15 +28,6 @@ #define S_IEXEC S_IXUSR #endif -#if 0 /* This is unreliable, since GCC 2.5 always has S_ISREG in its - fixed headers but it does not always have mode_t. - It seems safer not to try to use mode_t ever. */ -#if !defined(S_ISREG) || defined(NO_MODE_T) -/* Doesn't have POSIX.1 stat stuff or doesn't have mode_t. */ -#define mode_t unsigned short -#endif -#endif - #ifdef STAT_MACROS_BROKEN #undef S_ISBLK #undef S_ISCHR