summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-01-10 20:13:35 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-01-10 20:13:35 +0000
commite06993903ecc117acfe8c3ffc51d79fbd8390d2b (patch)
tree26856729c0472d149d8ebbd026a549fe4ff71402 /lib
parent388f158acf29e5f1a44000fbbf7fdcc67f5a8be7 (diff)
downloadcoreutils-e06993903ecc117acfe8c3ffc51d79fbd8390d2b.tar.xz
Sync from gnulib.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog2
-rw-r--r--lib/regex_internal.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 5cc1e5e10..81310a910 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,7 +1,7 @@
2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
* localcharset.c, md5.c, md5.h, savedir.c, savedir.h, sha1.c, sha1.h
- * strcasecmp.c, strncasecmp.c, verify.h:
+ * strcasecmp.c, strncasecmp.c, verify.h, regex_internal.h:
Sync from gnulib.
* sha256.c, sha256.h, sha512.c, sha512.h:
Replace all instances of md5_uint32_t with uint32_t, to accommodate
diff --git a/lib/regex_internal.h b/lib/regex_internal.h
index a36ae4c8a..04be143b8 100644
--- a/lib/regex_internal.h
+++ b/lib/regex_internal.h
@@ -1,5 +1,5 @@
/* Extended regular expression matching and search library.
- Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
@@ -182,6 +182,10 @@ typedef unsigned long int bitset_word;
# if BITSET_WORD_BITS <= SBC_MAX
# error "Invalid SBC_MAX"
# endif
+ #elif BITSET_WORD_MAX == (0xffffffff + 2) * 0xffffffff
+/* Work around a bug in 64-bit PGC (before version 6.1-2), where the
+ preprocessor mishandles large unsigned values as if they were signed. */
+# define BITSET_WORD_BITS 64
#else
# error "Add case for new bitset_word size"
#endif