summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-09 21:07:50 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-09 21:07:50 +0000
commit3301671de97cc01bd1d751c500157fd8a7bdb887 (patch)
tree0055c15825fca238c918ce745a6f6dc16d25bdab /ChangeLog
parentfd4a5b1b53c1154ebf24470267e5347dcaebd921 (diff)
downloadcoreutils-3301671de97cc01bd1d751c500157fd8a7bdb887.tar.xz
Import latest regex module from gnulib, to fix some 64-bit bugs.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a1657194..35917c4c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,23 @@
* Version 5.3.1-cvs.
+ Support regular expressions in 64-bit code correctly, by
+ importing the latest gnulib regexp code, and not assuming
+ that sizes fit in 32 bits.
+ * src/csplit.c (process_regexp): Store match length in regoff_t,
+ not int. Assume that negative return values less than -2
+ represent regoff_t overflow.
+ * src/expr.c (docolon): Likewise.
+ * src/nl.c (proc_text): Likewise.
+ * src/ptx.c (SKIP_SOMETHING, find_occurs_in_text): Likewise.
+ * src/tac.c (tac_seekable): Likewise.
+ * src/expr.c (docolon) Check for size calculation overflow.
+ * src/nl.c (build_type_arg): Likewise.
+ * src/ptx.c (matcher_error): New function.
+ (SKIP_SOMETHING): Use it to report matcher errors.
+ (alloc_and_compile_regex): No longer any need to worry about
+ int versus size_t mismatch.
+
* NEWS: Document "niceness" vs "nice value".
* configure.ac (utils_cv_func_setpriority): Simplify the tests.
Define HAVE_NICE rather than NICE_PRIORITY (since a niceness is