]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
merge with 3.5
authorJim Meyering <jim@meyering.net>
Thu, 22 Apr 1993 03:16:53 +0000 (03:16 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 22 Apr 1993 03:16:53 +0000 (03:16 +0000)
lib/backupfile.c
old/fileutils/ChangeLog
src/ls.c
src/touch.c

index 7a624cfece6d890f6a464d5a6ec3807c346f793b..f15e530bff759a2ca4b2fec698800467dd369b0e 100644 (file)
 #include "backupfile.h"
 #if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
 #include <string.h>
+#ifndef index
 #define index strchr
+#endif
+#ifndef rindex
 #define rindex strrchr
+#endif
 #else
 #include <strings.h>
 #endif
index 50eb10e281499a087a5180c0474d952f37aa7caa..48c31dd3498be952b6d3f756b4748cbfe392c0f1 100644 (file)
@@ -1,3 +1,29 @@
+Mon Apr 19 11:21:14 1993  Jim Meyering (meyering@comco.com)
+
+       * Version 3.5.
+
+       * ls.c, touch.c: Don't include time.h explicitly -- it's included
+       by system.h.  From Franc,ois Pinard.
+
+       * posixtm.y: Use TM_IN_SYS_TIME.
+
+       * backupfile.c [index, rindex]: Don't redefine them.
+
+       * system.h [alloca]: Don't redefine it.
+
+       * configure.in: Check for sys/time.h; getdate.y needs it for
+       structs timeval and timezone on some systems.
+
+Sun Apr 18 22:40:19 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
+
+       * ls.c: Include fnmatch.h after system.h, so we get our
+       definitions of FNM_*, not those from unistd.h.
+
+       * mountlist.c [MOUNTED_GETMNTINFO]: Add #ifdef around MOUNT_PC.
+
+       * configure.in: Fix test for 4.4BSD statfs to not grep for a
+       macro in cpp output.
+
 Sun Apr 18 02:35:36 1993  Jim Meyering (meyering@comco.com)
 
        * configure.in: Check for gettimeofday.
index f90e4291c7fe45d5e2bdfc9f164973463c9c3cba..2926eafac75ce313b2a3fc09aff227884653c173 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -43,8 +43,8 @@
 #include <grp.h>
 #include <pwd.h>
 #include <getopt.h>
-#include <fnmatch.h>
 #include "system.h"
+#include <fnmatch.h>
 #include "version.h"
 
 #ifndef S_IEXEC
@@ -58,9 +58,7 @@
 #define longdiff(a, b) ((a) - (b))
 #endif
 
-#ifdef STDC_HEADERS
-#include <time.h>
-#else
+#ifndef STDC_HEADERS
 char *ctime ();
 time_t time ();
 #endif
index 9a8ca584131156ce0967bf7965344ec0bf46ae31..efb45a1f6d472012afa0bec16ceb13bd39f0d92e 100644 (file)
@@ -39,9 +39,7 @@
 #include "system.h"
 #include "version.h"
 
-#ifdef STDC_HEADERS
-#include <time.h>
-#else
+#ifndef STDC_HEADERS
 time_t mktime ();
 time_t time ();
 #endif