]> 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:24:04 +0000 (23:24 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 13 Sep 2006 21:24:04 +0000 (21:24 +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: r116933

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

index 7f46066984826ea9512acdd9d445a9ca93089f3b..1b782014e6a2acaf90ac91e87291ee7d00cabc84 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-03-09  Release Manager
 
        * GCC 4.0.3 released.
index cf5b4037f07c6f9346c0809c53e1cdfb2cfb1f21..737e420554fd9505c98c2a5051b65c22faaa298a 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 67fd030f255fc9efc322b5e3db5c050cab46b180..4101c28366d77c970bca25b4d23bab6af6dfe28a 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