]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR other/23541 (All error messages produce segfault)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Wed, 13 Sep 2006 21:23:28 +0000 (23:23 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 13 Sep 2006 21:23:28 +0000 (21:23 +0000)
PR other/23541
PR other/26507
Backport from gettext repository:

2003-09-04  Bruno Haible  <bruno@clisp.org>
* dgettext.c: Include <locale.h> after gettextP.h, not before. This
ensures that libintl_dcgettext is correctly declared on Solaris.
(Needed because Solaris <locale.h> includes libintl.h.)
* dngettext.c: Likewise, for the libintl_dcngettext declaration.

From-SVN: r116931

intl/ChangeLog
intl/dgettext.c
intl/dngettext.c

index 6fa7c197e4139e43695fc60dc4603c3a0673f324..7a1b316712830d07658dc6ff0a290836780b6c46 100644 (file)
@@ -1,3 +1,15 @@
+2006-09-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR other/23541
+       PR other/26507
+       Backport from gettext repository:
+
+       2003-09-04  Bruno Haible  <bruno@clisp.org>
+       * dgettext.c: Include <locale.h> after gettextP.h, not before. This
+       ensures that libintl_dcgettext is correctly declared on Solaris.
+       (Needed because Solaris <locale.h> includes libintl.h.)
+       * dngettext.c: Likewise, for the libintl_dcngettext declaration.
+
 2006-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * Makefile.in (install-info, install-dvi, install-ps, install-pdf):
index 1b6ce038820d4864d7975b24dffdfb020496591e..e497dd9c920b5fccd2d24b5d20e9f7caa2fe90d2 100644 (file)
@@ -1,5 +1,5 @@
 /* Implementation of the dgettext(3) function.
-   Copyright (C) 1995-1997, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
 # include <config.h>
 #endif
 
+#include "gettextP.h"
+
 #include <locale.h>
 
-#include "gettextP.h"
 #ifdef _LIBC
 # include <libintl.h>
 #else
index 2c304e8dd0ad124d7f995a99903b19dde57dd924..8dee800854456425eddd20c3efd921adec7e18a6 100644 (file)
@@ -1,5 +1,5 @@
 /* Implementation of the dngettext(3) function.
-   Copyright (C) 1995-1997, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
 # include <config.h>
 #endif
 
+#include "gettextP.h"
+
 #include <locale.h>
 
-#include "gettextP.h"
 #ifdef _LIBC
 # include <libintl.h>
 #else