summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-25 04:18:54 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-25 04:18:54 +0000
commit443ddc13e6cebb7a163b457c8accb8e4af4dc83f (patch)
tree7cbfb5d1dfcbd582d5a1e5e43637787904eed110 /lib
parent793ffcaac0656a06388293f734c2b6a521f9ba7d (diff)
downloadcoreutils-443ddc13e6cebb7a163b457c8accb8e4af4dc83f.tar.xz
Upgrade regex_internal.h patch.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog10
1 files changed, 8 insertions, 2 deletions
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
<http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
- * 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 <jim@meyering.net>