]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
regex fixes for future POSIX and --without-included-regex.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Mar 2006 07:35:25 +0000 (07:35 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Mar 2006 07:35:25 +0000 (07:35 +0000)
lib/ChangeLog
m4/ChangeLog

index b0560f179ab882096b53bd19741459331bce4229..c9227195ce2b275e3874a64f7fd64f89aac8c95c 100644 (file)
@@ -1,3 +1,9 @@
+2006-03-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex.h (regoff_t) [defined _REGEX_LARGE_OFFSETS]:
+       Typedef to long int, not to off_, as POSIX will likely change
+       in that direction.
+
 2006-03-12  Jim Meyering  <jim@meyering.net>
 
        * fts-cycle.c (leave_dir): If cycle-check's saved dev-ino pair matches
index d78cde585ca102880a41a31701661ddd6124fc71..949cbdac9afa8f9643c4edde7ff2953db0edcc5c 100644 (file)
@@ -1,3 +1,14 @@
+2006-03-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regex.m4 (gl_REGEX): Don't check for off_t, since the code
+       no longer needs it.  Instead, check that regoff_t is as least
+       as wide as ptrdiff_t.
+
+       Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
+       so that our regex.h stays compatible with the installed regex.
+       This is helpful for installers who configure --without-included-regex.
+       Problem reported by Emanuele Giaquinta.
+
 2006-03-12  Jim Meyering  <jim@meyering.net>
 
        * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.