From: Bruno Haible Date: Mon, 10 Oct 2005 11:09:06 +0000 (+0000) Subject: Test HAVE_CONFIG_H using #ifdef. X-Git-Tag: v0.15~371 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bd5020f6eef7e48d848210cd4cd6b16d7b64d89;p=thirdparty%2Fgettext.git Test HAVE_CONFIG_H using #ifdef. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index a3b2782ae..e056f1213 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,38 @@ +2005-10-06 Bruno Haible + + * addext.c: Test HAVE_CONFIG_H using #ifdef. + * argmatch.c: Likewise. + * backupfile.c: Likewise. + * c-strcasecmp.c: Likewise. + * c-strncasecmp.c: Likewise. + * canonicalize.c: Likewise. + * closeout.c: Likewise. + * exitfail.c: Likewise. + * fnmatch.c: Likewise. + * full-write.c: Likewise. + * fwriteerror.c: Likewise. + * getline.c: Likewise. + * getndelim2.c: Likewise. + * getopt_.h: Likewise. + * hash.c: Likewise. + * memmove.c: Likewise. + * quote.c: Likewise. + * quotearg.c: Likewise. + * readlink.c: Likewise. + * safe-read.c: Likewise. + * setenv.c: Likewise. + * strcspn.c: Likewise. + * strerror.c: Likewise. + * strstr.c: Likewise. + * strtol.c: Likewise. + * unsetenv.c: Likewise. + * xgetcwd.c: Likewise. + * xmalloc.c: Likewise. + * xreadlink.c: Likewise. + * xsetenv.c: Likewise. + * xstrdup.c: Likewise. + Reported by Ralf Wildenhues on bug-gnulib. + 2005-10-03 Bruno Haible * hash.h (hash_insert_entry): Return a pointer instead of int. diff --git a/gettext-tools/lib/addext.c b/gettext-tools/lib/addext.c index 550a610e6..c6c2ac31f 100644 --- a/gettext-tools/lib/addext.c +++ b/gettext-tools/lib/addext.c @@ -1,5 +1,5 @@ /* addext.c -- add an extension to a file name - Copyright (C) 1990, 1997-1999, 2001-2003 Free Software Foundation, Inc. + Copyright (C) 1990, 1997-1999, 2001-2003, 2005 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 @@ -18,7 +18,7 @@ /* Written by David MacKenzie and Paul Eggert */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/argmatch.c b/gettext-tools/lib/argmatch.c index 20c603bc7..38ec7a80d 100644 --- a/gettext-tools/lib/argmatch.c +++ b/gettext-tools/lib/argmatch.c @@ -1,7 +1,6 @@ /* argmatch.c -- find a match for a string in an array - Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003, 2004 Free - Software Foundation, Inc. + Copyright (C) 1990, 1998-1999, 2001-2005 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 @@ -20,7 +19,7 @@ /* Written by David MacKenzie Modified by Akim Demaille */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/backupfile.c b/gettext-tools/lib/backupfile.c index 9105916a3..173c5e02a 100644 --- a/gettext-tools/lib/backupfile.c +++ b/gettext-tools/lib/backupfile.c @@ -1,5 +1,5 @@ /* backupfile.c -- make Emacs style backup file names - Copyright (C) 1990-1999, 2000-2003 Free Software Foundation, Inc. + Copyright (C) 1990-1999, 2000-2003, 2005 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 @@ -19,7 +19,7 @@ /* Written by David MacKenzie . Some algorithms adapted from GNU Emacs. */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/c-strcasecmp.c b/gettext-tools/lib/c-strcasecmp.c index 420ec28c0..2e3012e4d 100644 --- a/gettext-tools/lib/c-strcasecmp.c +++ b/gettext-tools/lib/c-strcasecmp.c @@ -15,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/lib/c-strncasecmp.c b/gettext-tools/lib/c-strncasecmp.c index 90d2b26d3..33e8091b7 100644 --- a/gettext-tools/lib/c-strncasecmp.c +++ b/gettext-tools/lib/c-strncasecmp.c @@ -15,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/lib/canonicalize.c b/gettext-tools/lib/canonicalize.c index 588e84a4f..d2e8a672a 100644 --- a/gettext-tools/lib/canonicalize.c +++ b/gettext-tools/lib/canonicalize.c @@ -17,7 +17,7 @@ Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/closeout.c b/gettext-tools/lib/closeout.c index 54b4a4785..21f81b2ef 100644 --- a/gettext-tools/lib/closeout.c +++ b/gettext-tools/lib/closeout.c @@ -15,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/lib/exitfail.c b/gettext-tools/lib/exitfail.c index 1c5997b8a..24df22851 100644 --- a/gettext-tools/lib/exitfail.c +++ b/gettext-tools/lib/exitfail.c @@ -1,6 +1,6 @@ /* Failure exit status - Copyright (C) 2002, 2003 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2005 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 @@ -17,7 +17,7 @@ If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/fnmatch.c b/gettext-tools/lib/fnmatch.c index 60031e9b8..80b857259 100644 --- a/gettext-tools/lib/fnmatch.c +++ b/gettext-tools/lib/fnmatch.c @@ -1,5 +1,4 @@ -/* Copyright (C) 1991,1992,1993,1996,1997,1998,1999,2000,2001,2002,2003,2004 - Free Software Foundation, Inc. +/* Copyright (C) 1991-1993,1996-1999,2000-2005 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,7 +14,7 @@ along 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 #endif diff --git a/gettext-tools/lib/full-write.c b/gettext-tools/lib/full-write.c index 962602742..660e92e63 100644 --- a/gettext-tools/lib/full-write.c +++ b/gettext-tools/lib/full-write.c @@ -1,7 +1,6 @@ /* An interface to read and write that retries (if necessary) until complete. - Copyright (C) 1993, 1994, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004 Free Software Foundation, Inc. + Copyright (C) 1993, 1994, 1997-1999, 2000-2005 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 @@ -17,7 +16,7 @@ along 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 #endif diff --git a/gettext-tools/lib/fwriteerror.c b/gettext-tools/lib/fwriteerror.c index 6ffdf526d..a88c8e1c3 100644 --- a/gettext-tools/lib/fwriteerror.c +++ b/gettext-tools/lib/fwriteerror.c @@ -16,7 +16,7 @@ along 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 #endif diff --git a/gettext-tools/lib/getline.c b/gettext-tools/lib/getline.c index 2ea517bed..4e61d16da 100644 --- a/gettext-tools/lib/getline.c +++ b/gettext-tools/lib/getline.c @@ -1,6 +1,6 @@ /* getline.c -- Replacement for GNU C library function getline - Copyright (C) 1993, 1996, 1997, 1998, 2000, 2003 Free Software + Copyright (C) 1993, 1996-1998, 2000, 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -19,7 +19,7 @@ /* Written by Jan Brittenson, bson@gnu.ai.mit.edu. */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/getndelim2.c b/gettext-tools/lib/getndelim2.c index cc4d42b1c..5adcabb66 100644 --- a/gettext-tools/lib/getndelim2.c +++ b/gettext-tools/lib/getndelim2.c @@ -1,7 +1,7 @@ /* getndelim2 - Read a line from a stream, stopping at one of 2 delimiters, with bounded memory allocation. - Copyright (C) 1993, 1996, 1997, 1998, 2000, 2003 Free Software + Copyright (C) 1993, 1996-1998, 2000, 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -20,7 +20,7 @@ /* Originally written by Jan Brittenson, bson@gnu.ai.mit.edu. */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/getopt_.h b/gettext-tools/lib/getopt_.h index 7314a6b88..acc70fe60 100644 --- a/gettext-tools/lib/getopt_.h +++ b/gettext-tools/lib/getopt_.h @@ -1,5 +1,5 @@ /* Declarations for getopt. - Copyright (C) 1989-1994,1996-1999,2001,2003,2004 + Copyright (C) 1989-1994,1996-1999,2001,2003-2005 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -27,7 +27,7 @@ includes , and is not a prerequisite for using , this file can be included without a prior "#include ". */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/hash.c b/gettext-tools/lib/hash.c index 21374f25f..4ffd83baa 100644 --- a/gettext-tools/lib/hash.c +++ b/gettext-tools/lib/hash.c @@ -16,7 +16,7 @@ along 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 #endif diff --git a/gettext-tools/lib/memmove.c b/gettext-tools/lib/memmove.c index 79cc78273..753c899d3 100644 --- a/gettext-tools/lib/memmove.c +++ b/gettext-tools/lib/memmove.c @@ -3,7 +3,7 @@ In the public domain. By David MacKenzie . */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/quote.c b/gettext-tools/lib/quote.c index 4c75029a3..f191e8d7c 100644 --- a/gettext-tools/lib/quote.c +++ b/gettext-tools/lib/quote.c @@ -1,5 +1,5 @@ /* quote.c - quote arguments for output - Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 1998-1999, 2000-2001, 2003, 2005 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 @@ -17,7 +17,7 @@ /* Written by Paul Eggert */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/quotearg.c b/gettext-tools/lib/quotearg.c index 13fcf0b51..3c8cbb16a 100644 --- a/gettext-tools/lib/quotearg.c +++ b/gettext-tools/lib/quotearg.c @@ -1,7 +1,6 @@ /* quotearg.c - quote arguments for output - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004 Free Software - Foundation, Inc. + Copyright (C) 1998-1999, 2000-2002, 2004-2005 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 @@ -19,7 +18,7 @@ /* Written by Paul Eggert */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/readlink.c b/gettext-tools/lib/readlink.c index bf8a5f783..875cc9736 100644 --- a/gettext-tools/lib/readlink.c +++ b/gettext-tools/lib/readlink.c @@ -1,5 +1,5 @@ /* Stub for readlink(). - Copyright (C) 2003-2004 Free Software Foundation, Inc. + Copyright (C) 2003-2005 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,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/lib/safe-read.c b/gettext-tools/lib/safe-read.c index 904fc71f0..ac58a8ea9 100644 --- a/gettext-tools/lib/safe-read.c +++ b/gettext-tools/lib/safe-read.c @@ -1,7 +1,6 @@ /* An interface to read and write that retries after interrupts. - Copyright (C) 1993, 1994, 1998, 2002, 2003, 2004 Free Software - Foundation, Inc. + Copyright (C) 1993-1994, 1998, 2002-2005 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 @@ -17,7 +16,7 @@ along 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 #endif diff --git a/gettext-tools/lib/setenv.c b/gettext-tools/lib/setenv.c index 65d1b9ba2..c385708b1 100644 --- a/gettext-tools/lib/setenv.c +++ b/gettext-tools/lib/setenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,1995-1999,2000-2003 Free Software Foundation, Inc. +/* Copyright (C) 1992,1995-1999,2000-2003,2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,7 +16,7 @@ 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 #endif #include diff --git a/gettext-tools/lib/strcspn.c b/gettext-tools/lib/strcspn.c index 0efa22f6b..46d7d36ca 100644 --- a/gettext-tools/lib/strcspn.c +++ b/gettext-tools/lib/strcspn.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994, 1996-1997, 2002-2003 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1994, 1996-1997, 2002-2003, 2005 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@gnu.org. @@ -17,7 +17,7 @@ along 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 #endif diff --git a/gettext-tools/lib/strerror.c b/gettext-tools/lib/strerror.c index ccfd235fb..1815bdede 100644 --- a/gettext-tools/lib/strerror.c +++ b/gettext-tools/lib/strerror.c @@ -1,6 +1,6 @@ /* strerror.c --- ANSI C compatible system error routine - Copyright (C) 1986, 1988, 1989, 1991, 2002, 2003 Free Software + Copyright (C) 1986, 1988-1989, 1991, 2002-2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ along 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 #endif diff --git a/gettext-tools/lib/strstr.c b/gettext-tools/lib/strstr.c index 59614de51..6326d85ae 100644 --- a/gettext-tools/lib/strstr.c +++ b/gettext-tools/lib/strstr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1999, 2002-2003 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1999, 2002-2003, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -24,7 +24,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ * * Stephen R. van den Berg, berg@pool.informatik.rwth-aachen.de */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/strtol.c b/gettext-tools/lib/strtol.c index 206be3bea..15d510a07 100644 --- a/gettext-tools/lib/strtol.c +++ b/gettext-tools/lib/strtol.c @@ -1,7 +1,6 @@ /* Convert string representation of a number into an integer value. - Copyright (C) 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2003 - Free Software Foundation, Inc. + Copyright (C) 1991-1992, 1994-1999, 2003, 2005 Free Software Foundation, Inc. NOTE: The canonical source of this file is maintained with the GNU C Library. Bugs can be reported to bug-glibc@gnu.org. @@ -20,7 +19,7 @@ along 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 #endif diff --git a/gettext-tools/lib/unsetenv.c b/gettext-tools/lib/unsetenv.c index 91fc12c39..332dd38c4 100644 --- a/gettext-tools/lib/unsetenv.c +++ b/gettext-tools/lib/unsetenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,1995-1999,2000-2002 Free Software Foundation, Inc. +/* Copyright (C) 1992,1995-1999,2000-2002,2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,7 +16,7 @@ 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 #endif diff --git a/gettext-tools/lib/xgetcwd.c b/gettext-tools/lib/xgetcwd.c index ee555265c..9d475e91b 100644 --- a/gettext-tools/lib/xgetcwd.c +++ b/gettext-tools/lib/xgetcwd.c @@ -1,5 +1,5 @@ /* xgetcwd.c -- return current directory with unlimited length - Copyright (C) 1992, 1996, 2000, 2003 Free Software Foundation, Inc. + Copyright (C) 1992, 1996, 2000, 2003, 2005 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 @@ -17,7 +17,7 @@ /* Written by David MacKenzie . */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/xmalloc.c b/gettext-tools/lib/xmalloc.c index 79efc9543..886dd7d52 100644 --- a/gettext-tools/lib/xmalloc.c +++ b/gettext-tools/lib/xmalloc.c @@ -1,5 +1,5 @@ /* xmalloc.c -- malloc with out of memory checking - Copyright (C) 1990-1996, 2000-2003 Free Software Foundation, Inc. + Copyright (C) 1990-1996, 2000-2003, 2005 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,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/lib/xreadlink.c b/gettext-tools/lib/xreadlink.c index 54be80d0e..bb190fe28 100644 --- a/gettext-tools/lib/xreadlink.c +++ b/gettext-tools/lib/xreadlink.c @@ -1,6 +1,6 @@ /* xreadlink.c -- readlink wrapper to return the link name in malloc'd storage - Copyright (C) 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2005 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 @@ -20,7 +20,7 @@ /* Written by Jim Meyering and Bruno Haible . */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif diff --git a/gettext-tools/lib/xsetenv.c b/gettext-tools/lib/xsetenv.c index 3e5938650..547ebd3ae 100644 --- a/gettext-tools/lib/xsetenv.c +++ b/gettext-tools/lib/xsetenv.c @@ -1,5 +1,5 @@ /* Setting environment variables, with out-of-memory checking. - Copyright (C) 2001-2002 Free Software Foundation, Inc. + Copyright (C) 2001-2002, 2005 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,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/lib/xstrdup.c b/gettext-tools/lib/xstrdup.c index 28c2661b6..d406979c7 100644 --- a/gettext-tools/lib/xstrdup.c +++ b/gettext-tools/lib/xstrdup.c @@ -1,5 +1,5 @@ /* xstrdup.c -- copy a string with out of memory checking - Copyright (C) 1990, 1996, 2000-2003 Free Software Foundation, Inc. + Copyright (C) 1990, 1996, 2000-2003, 2005 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,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/libgrep/ChangeLog b/gettext-tools/libgrep/ChangeLog index 9e2b7e513..7b3a647e5 100644 --- a/gettext-tools/libgrep/ChangeLog +++ b/gettext-tools/libgrep/ChangeLog @@ -1,3 +1,11 @@ +2005-10-06 Bruno Haible + + * hard-locale.c: Test HAVE_CONFIG_H using #ifdef. + * m-common.c: Likewise. + * m-fgrep.c: Likewise. + * m-regex.c: Likewise. + Reported by Ralf Wildenhues on bug-gnulib. + 2005-04-18 Bruno Haible * dfa.c (update_mb_len_index): Change argument type to 'const char *'. diff --git a/gettext-tools/libgrep/hard-locale.c b/gettext-tools/libgrep/hard-locale.c index b0566ec21..8725f9e76 100644 --- a/gettext-tools/libgrep/hard-locale.c +++ b/gettext-tools/libgrep/hard-locale.c @@ -1,7 +1,6 @@ /* hard-locale.c -- Determine whether a locale is hard. - Copyright (C) 1997, 1998, 1999, 2002, 2003, 2004 Free Software - Foundation, Inc. + Copyright (C) 1997-1999, 2002-2005 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 @@ -17,7 +16,7 @@ along 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 #endif diff --git a/gettext-tools/libgrep/m-common.c b/gettext-tools/libgrep/m-common.c index 49689dbd7..3bf13a6cd 100644 --- a/gettext-tools/libgrep/m-common.c +++ b/gettext-tools/libgrep/m-common.c @@ -15,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/libgrep/m-fgrep.c b/gettext-tools/libgrep/m-fgrep.c index d13e99431..28f900c80 100644 --- a/gettext-tools/libgrep/m-fgrep.c +++ b/gettext-tools/libgrep/m-fgrep.c @@ -15,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/libgrep/m-regex.c b/gettext-tools/libgrep/m-regex.c index 69326d3b7..6f7aae376 100644 --- a/gettext-tools/libgrep/m-regex.c +++ b/gettext-tools/libgrep/m-regex.c @@ -15,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/libuniname/ChangeLog b/gettext-tools/libuniname/ChangeLog index 79af7af8f..aced19342 100644 --- a/gettext-tools/libuniname/ChangeLog +++ b/gettext-tools/libuniname/ChangeLog @@ -1,3 +1,9 @@ +2005-10-06 Bruno Haible + + * uniname.c: Test HAVE_CONFIG_H using #ifdef. + * test-names.c: Likewise. + Reported by Ralf Wildenhues on bug-gnulib. + 2005-05-23 Bruno Haible * gettext-0.14.5 released. diff --git a/gettext-tools/libuniname/test-names.c b/gettext-tools/libuniname/test-names.c index 2a32c95df..640ec1c4e 100644 --- a/gettext-tools/libuniname/test-names.c +++ b/gettext-tools/libuniname/test-names.c @@ -1,5 +1,5 @@ /* Test the Unicode character name functions. - Copyright (C) 2000-2003 Free Software Foundation, Inc. + Copyright (C) 2000-2003, 2005 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,7 +15,7 @@ along 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 #endif diff --git a/gettext-tools/libuniname/uniname.c b/gettext-tools/libuniname/uniname.c index e05bc438c..a5b86741e 100644 --- a/gettext-tools/libuniname/uniname.c +++ b/gettext-tools/libuniname/uniname.c @@ -1,5 +1,5 @@ /* Association between Unicode characters and their names. - Copyright (C) 2000-2002 Free Software Foundation, Inc. + Copyright (C) 2000-2002, 2005 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,7 +15,7 @@ along 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 #endif