From: Paul Eggert Date: Sun, 25 Sep 2005 04:18:54 +0000 (+0000) Subject: Upgrade regex_internal.h patch. X-Git-Tag: v5.90~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=443ddc13e6cebb7a163b457c8accb8e4af4dc83f;p=thirdparty%2Fcoreutils.git Upgrade regex_internal.h patch. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 83fd1743c0..d9a8cc1030 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