From 443ddc13e6cebb7a163b457c8accb8e4af4dc83f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 25 Sep 2005 04:18:54 +0000 Subject: Upgrade regex_internal.h patch. --- lib/ChangeLog | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/ChangeLog b/lib/ChangeLog index 83fd1743c..d9a8cc103 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -4,9 +4,15 @@ it doesn't build in OpenBSD 3.4. See . - * regex_internal.h (__attribute): Define to nothing for GCC 2. + * regex_internal.h (__GNUC_PREREQ, always_inline, inline, pure): + Remove. + (__attribute): Define to empty unless GCC 3.1 or later. This works around a core dump on OpenBSD 3.4, which has GCC - 2.95.3, which dumps core when given __attribute__(()). + 2.95.3, which dumps core when given __attribute__(()). It also + simplifies other tests, since we really don't want to bother with + worrying about which ancient version of GCC supported what. + Original problem reported by Yoann Vandoorselaere, with part of + the fix suggested by Derek Price. 2005-09-24 Jim Meyering -- cgit v1.2.3-70-g09d2