From: Eric Botcazou Date: Wed, 13 Sep 2006 21:23:28 +0000 (+0200) Subject: re PR other/23541 (All error messages produce segfault) X-Git-Tag: releases/gcc-4.2.0~1403 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a0e366b51d09b36f590c957c96b01945d85f85f;p=thirdparty%2Fgcc.git re PR other/23541 (All error messages produce segfault) PR other/23541 PR other/26507 Backport from gettext repository: 2003-09-04 Bruno Haible * dgettext.c: Include after gettextP.h, not before. This ensures that libintl_dcgettext is correctly declared on Solaris. (Needed because Solaris includes libintl.h.) * dngettext.c: Likewise, for the libintl_dcngettext declaration. From-SVN: r116931 --- diff --git a/intl/ChangeLog b/intl/ChangeLog index 6fa7c197e413..7a1b31671283 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,15 @@ +2006-09-13 Eric Botcazou + + PR other/23541 + PR other/26507 + Backport from gettext repository: + + 2003-09-04 Bruno Haible + * dgettext.c: Include after gettextP.h, not before. This + ensures that libintl_dcgettext is correctly declared on Solaris. + (Needed because Solaris includes libintl.h.) + * dngettext.c: Likewise, for the libintl_dcngettext declaration. + 2006-06-07 Daniel Jacobowitz * Makefile.in (install-info, install-dvi, install-ps, install-pdf): diff --git a/intl/dgettext.c b/intl/dgettext.c index 1b6ce038820d..e497dd9c920b 100644 --- a/intl/dgettext.c +++ b/intl/dgettext.c @@ -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 @@ -20,9 +20,10 @@ # include #endif +#include "gettextP.h" + #include -#include "gettextP.h" #ifdef _LIBC # include #else diff --git a/intl/dngettext.c b/intl/dngettext.c index 2c304e8dd0ad..8dee80085445 100644 --- a/intl/dngettext.c +++ b/intl/dngettext.c @@ -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 @@ -20,9 +20,10 @@ # include #endif +#include "gettextP.h" + #include -#include "gettextP.h" #ifdef _LIBC # include #else