bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] 04-mkstemp-c89.diff


From: Derek Robert Price
Subject: [Bug-gnulib] 04-mkstemp-c89.diff
Date: Mon, 21 Jul 2003 19:03:47 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

And again for mkstemp:

   * lib/tempname.c: Assume string.h per C89.
   * m4/mkstemp.c (jm_PREREQ_TEMPNAME): Ditto.

Index: lib/tempname.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/tempname.c,v
retrieving revision 1.10
diff -u -r1.10 tempname.c
--- lib/tempname.c      29 May 2003 07:21:59 -0000      1.10
+++ lib/tempname.c      21 Jul 2003 23:00:09 -0000
@@ -45,9 +45,7 @@

#include <stddef.h>

-#if STDC_HEADERS || _LIBC
-# include <string.h>
-#endif
+#include <string.h>

#include <stdlib.h>

Index: m4/mkstemp.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/mkstemp.m4,v
retrieving revision 1.5
diff -u -r1.5 mkstemp.m4
--- m4/mkstemp.m4       31 Dec 2002 13:43:06 -0000      1.5
+++ m4/mkstemp.m4       21 Jul 2003 23:00:09 -0000
@@ -55,7 +55,6 @@
# Prerequisites of lib/tempname.c.
AC_DEFUN([jm_PREREQ_TEMPNAME],
[
-  AC_REQUIRE([AC_HEADER_STDC])
  AC_REQUIRE([AC_HEADER_STAT])
  AC_CHECK_HEADERS_ONCE(fcntl.h sys/time.h unistd.h)
  AC_CHECK_HEADERS(stdint.h)



Derek

--
               *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
--
Justice: A decision in your favour.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]