]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Thu, 23 Oct 1997 15:58:39 +0000 (15:58 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 23 Oct 1997 15:58:39 +0000 (15:58 +0000)
old/sh-utils/ChangeLog

index 2a5ed4874e10aa7fc4d7909b99849cc234f1f7e2..6e3a60b8ece05a5326f01718a515c9a385ec78f5 100644 (file)
@@ -1,3 +1,26 @@
+1997-10-23  Jim Meyering  <meyering@na-net.ornl.gov>
+
+       * src/system.h [!HAVE_DECLARATION_FREE]: Declare free.
+       [!HAVE_DECLARATION_MALLOC]: Declare malloc.
+       [!HAVE_DECLARATION_REALLOC]: Declare realloc.
+       [!HAVE_DECLARATION_STPCPY]: Declare stpcpy.
+       [!HAVE_DECLARATION_STRSTR]: Declare strstr.
+       [STREQ]: Define.
+       * src/date.c: Remove stpcpy decl.
+       * src/expr.c: Remove strstr decl.
+       * src/test.c [STREQ]: Undef then redefine.
+       On some systems, strstr and stpcpy are macros, so declaring them
+       unconditionally gets syntax errors.
+       Reported by Mark M._Kettenis" <kettenis@phys.uva.nl>.
+
+       * configure.in: Use jm_CHECK_DECLS.
+       * m4/Makefile.am (EXTRA_DIST): Add decl.m4 and do-decl.m4.
+
+1997-10-22  Jim Meyering  <meyering@na-net.ornl.gov>
+
+       * m4/decl.m4: New file.
+       * m4/do-decl.m4: New file.  New macro, jm_CHECK_DECLS.
+
 1997-10-07  Jim Meyering  <meyering@na-net.ornl.gov>
 
        * src/*.c: Update bug-reporting address.