[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: config.h inclusion
From: |
Ralf Wildenhues |
Subject: |
Re: config.h inclusion |
Date: |
Wed, 21 Sep 2005 18:09:09 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi Paul, Bruno,
* Paul Eggert wrote on Mon, Sep 19, 2005 at 07:31:27PM CEST:
>
> Since there was general agreement I installed all the
> patches, except for the following files:
>
> mkdtemp.c
> setenv.c
> unsetenv.c
>
> argp-eexst.c
> argp-fmtstream.c
> argp-fmtstream.h
> argp-fs-xinl.c
> argp-xinl.c
>
> The first group of three is taken unaltered from GNU gettext. Bruno,
> can you please look into patching them along the lines of Ralf's patch
> <http://lists.gnu.org/archive/html/bug-gnulib/2005-09/gzQBa13BUM9W.gz>?
For convenience, I have pasted below a patch to this extent.
> The last group of five files is taken directly from libc. Ralf, can
> you please submit them as a glibc patch?
Done: http://sources.redhat.com/ml/libc-alpha/2005-09/msg00069.html
For your reference: the (Libtool-owned) argz.c file has been updated as
well similarly, but to also work with the libltdl special-casing, and
Noah's comment has been addressed.
Cheers, and thanks for applying these,
Ralf
2005-09-21 Ralf Wildenhues <address@hidden> (tiny change)
* mkdtemp.c, setenv.c, unsetenv.c: Standardize inclusion of
config.h.
Index: lib/mkdtemp.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/mkdtemp.c,v
retrieving revision 1.4
diff -u -r1.4 mkdtemp.c
--- lib/mkdtemp.c 14 May 2005 06:03:58 -0000 1.4
+++ lib/mkdtemp.c 20 Sep 2005 08:15:44 -0000
@@ -18,7 +18,7 @@
/* Extracted from misc/mkdtemp.c and sysdeps/posix/tempname.c. */
#ifdef HAVE_CONFIG_H
-# include "config.h"
+# include <config.h>
#endif
/* Specification. */
Index: lib/setenv.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/setenv.c,v
retrieving revision 1.13
diff -u -r1.13 setenv.c
--- lib/setenv.c 14 May 2005 06:03:58 -0000 1.13
+++ lib/setenv.c 20 Sep 2005 08:15:44 -0000
@@ -15,7 +15,7 @@
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <alloca.h>
Index: lib/unsetenv.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/unsetenv.c,v
retrieving revision 1.5
diff -u -r1.5 unsetenv.c
--- lib/unsetenv.c 14 May 2005 06:03:58 -0000 1.5
+++ lib/unsetenv.c 20 Sep 2005 08:15:44 -0000
@@ -15,7 +15,7 @@
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-#if HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
# include <config.h>
#endif