From cf17f8005938dfea422af111740857257725f053 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 8 Oct 1994 00:56:50 +0000 Subject: [PATCH] . --- lib/Makefile.in | 2 +- lib/filemode.c | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/Makefile.in b/lib/Makefile.in index 3965926f1a..c9d9450b26 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -46,7 +46,7 @@ modechange.o safe-read.o safe-stat.o safe-lstat.o savedir.o \ 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 index e88fc1249e..c86ee2ff52 100644 --- 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 -- 2.30.2