bug-gnulib
[Top][All Lists]
Advanced

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

xvasprintf and HAVE_CONFIG_H


From: Eric Blake
Subject: xvasprintf and HAVE_CONFIG_H
Date: Mon, 16 Oct 2006 20:44:32 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oskar,

OK to apply this patch, to conform with the majority of gnulib that
assumes config.h?

2006-10-16  Eric Blake  <address@hidden>

        * lib/xvasprintf.c (includes): Assume config.h.
        * lib/xasprintf.c (includes): Likewise.

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFFNEOQ84KuGfSFAYARAupIAJ9c1r3F7fs3LaRP8hUYyEFtWst3yQCTBf+p
uPQqRL32qSlI04ysTdsM/A==
=X4Sy
-----END PGP SIGNATURE-----
Index: lib/xasprintf.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/xasprintf.c,v
retrieving revision 1.2
diff -u -p -r1.2 xasprintf.c
--- lib/xasprintf.c     14 May 2005 06:03:58 -0000      1.2
+++ lib/xasprintf.c     17 Oct 2006 02:43:23 -0000
@@ -1,5 +1,5 @@
 /* vasprintf and asprintf with out-of-memory checking.
-   Copyright (C) 1999, 2002-2004 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002-2004, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -15,9 +15,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Specification.  */
 #include "xvasprintf.h"
Index: lib/xvasprintf.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/xvasprintf.c,v
retrieving revision 1.4
diff -u -p -r1.4 xvasprintf.c
--- lib/xvasprintf.c    9 May 2006 17:26:15 -0000       1.4
+++ lib/xvasprintf.c    17 Oct 2006 02:43:23 -0000
@@ -15,9 +15,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Specification.  */
 #include "xvasprintf.h"

reply via email to

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