]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
merge with 3.8.4b
authorJim Meyering <jim@meyering.net>
Tue, 12 Oct 1993 04:30:50 +0000 (04:30 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 12 Oct 1993 04:30:50 +0000 (04:30 +0000)
lib/Makefile.in
lib/fnmatch.c
lib/makepath.c
old/fileutils/ChangeLog
src/df.c
src/ls.c

index cbf2bd678e188b043a86a9d6872c154d5179e9e5..d240f568e5fa5d87a30933a97bf33e2011db5843 100644 (file)
@@ -76,7 +76,7 @@ distclean: clean
 realclean: distclean
        rm -f TAGS
 
-dist:
+dist: $(DISTFILES)
        for file in $(DISTFILES); do \
          ln $$file ../`cat ../.fname`/lib \
            || cp -p $$file ../`cat ../.fname`/lib; \
@@ -105,6 +105,8 @@ posixtm.c: posixtm.y getdate.c
        mv tposixtm.c posixtm.c
        rm -f posixtm.tab.c
 
+$(OBJECTS): config.h
+
 backupfile.o getversion.o: backupfile.h
 fnmatch.o: fnmatch.h
 fsusage.o: fsusage.h
index 2fb65b521604bf4306e494cdcfd1d31755bbc941..863b25e9e9c52192f3c34b08ca42055bd32808e6 100644 (file)
@@ -16,7 +16,14 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
 #ifdef HAVE_CONFIG_H
+#if defined (CONFIG_BROKETS)
+/* We use <config.h> instead of "config.h" so that a compilation
+   using -I. -I will use ./config.h rather than /config.h
+   (which it would do because it found this file in ).  */
 #include <config.h>
+#else
+#include "config.h"
+#endif
 #endif
 
 #include <errno.h>
index be5f8c34718fbb45b7b276aa5890e6c271fbfc3a..9e70ed72c660a57c1ac7b2982aec2b5b011fb2cb 100644 (file)
@@ -43,17 +43,6 @@ char *alloca ();
 #endif
 #endif
 
-#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
-   using -I. -I will use ./config.h rather than /config.h
-   (which it would do because it found this file in ).  */
-#include <config.h>
-#else
-#include "config.h"
-#endif
-#endif
-
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
index deab9f84e559d5b34de320b431097f143204110e..d1d7c3ca75856f050cce9744aa90da807e45f4fc 100644 (file)
@@ -1,3 +1,18 @@
+Sun Oct 10 13:38:54 1993  Jim Meyering  (meyering@comco.com)
+
+       * src/Makefile.in (dist): Depend on $(DISTFILES).
+
+       * src/Makefile.in [libdir, LIBPROGS]: Define them.
+       From Francois Pinard.
+
+       * posixtm.y: [HAVE_CONFIG_H, CONFIG_BROKETS]: Include <config.h>
+       or "config.h".  From Francois Pinard.
+
+       * makepath.c: [HAVE_CONFIG_H, CONFIG_BROKETS]: Remove the duplicate
+       #ifdef block following the alloca #ifdefs.  From Francois Pinard.
+
+       * df.c: Remove unnecessary dcl of strstr.
+
 Sat Oct  9 13:30:28 1993  Jim Meyering  (meyering@comco.com)
 
        * configure.in [STATFS_OSF1]: Change name to STAT_STATFS3_OSF1
@@ -15,6 +30,10 @@ Sat Oct  9 13:30:28 1993  Jim Meyering  (meyering@comco.com)
        * ls.c (usage): Split long usage string between two fprintf
        statements to avoid default limit of SGI's cc on string length.
 
+       * Makefile.in, src/Makefile.in [PROGS]: Alphabetize.
+
+       * configure.in: Remove AC_UNISTD_H; add unistd.h to AC_HAVE_HEADERS.
+
 Thu Oct 07 12:57:10 1993  Jim Meyering  (meyering@comco.com)
 
        * chgrp.c, chmod.c, chown.c, cp-aux.c, cp.c, dd.c, df.c, du.c,
index 4cf4196386b6052f13f5578550499d07d26b2fb3..7774e2d39143a993e220b9300b9ca078697d8f0e 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -51,7 +51,6 @@
 #include "system.h"
 #include "version.h"
 
-char *strstr ();
 char *xmalloc ();
 char *xstrdup ();
 void error ();
index de6f5a30db9e5af3ccc040e79900a1a88e537c4f..302c8ad4f3ffd9e0c5edcbbcd5ddd6c91b972b40 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -267,7 +267,7 @@ static int numeric_users;
 static int print_block_size;
 
 /* Nonzero means show file sizes in kilobytes instead of blocks
-   (the size of which is system-dependant).  -k */
+   (the size of which is system-dependent).  -k */
 
 static int kilobyte_blocks;