From 81ec479710240c995a1f3b5783663da77275c876 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 24 May 1998 18:03:36 +0000 Subject: [PATCH] Update. 1998-05-23 Thorsten Kukuk * nis/nis_defaults.c: Fix buffer problems and typos. 1998-05-23 08:42 Ulrich Drepper * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined. Patch by Fred Fish. --- ChangeLog | 9 +++++++++ intl/dcgettext.c | 4 ++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 89358e7e21..083751080f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +1998-05-23 Thorsten Kukuk + + * nis/nis_defaults.c: Fix buffer problems and typos. + +1998-05-23 08:42 Ulrich Drepper + + * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined. + Patch by Fred Fish. + 1998-05-22 Ulrich Drepper * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer diff --git a/intl/dcgettext.c b/intl/dcgettext.c index 777dd31d04..23692857a5 100644 --- a/intl/dcgettext.c +++ b/intl/dcgettext.c @@ -25,11 +25,11 @@ #include -#ifdef __GNUC__ +#if defined __GNUC__ && !defined C_ALLOCA # define alloca __builtin_alloca # define HAVE_ALLOCA 1 #else -# if defined HAVE_ALLOCA_H || defined _LIBC +# if (defined HAVE_ALLOCA_H || defined _LIBC && !defined C_ALLOCA # include # else # ifdef _AIX -- 2.11.4.GIT