Blair Zajac <[EMAIL PROTECTED]> wrote:
...
> In file included from regex.c:635:
> regex.c: In function `byte_re_match_2_internal':
> regex.c:6109: syntax error before `ptr'
> regex.c:6109: `ptr' undeclared (first use in this function)

Thanks for the report.
Here's a fix:

[!__BOUNDED_POINTERS__]: Define away __bounded, __unbounded, and __ptrvalue.
=============================================================================
Index: lib/regex.c
===================================================================
RCS file: /fetish/textutils/lib/regex.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -p -u -r1.75 -r1.76
--- lib/regex.c 2001/11/27 21:34:15     1.75
+++ lib/regex.c 2001/12/02 17:46:54     1.76
@@ -112,6 +112,13 @@
 #  define gettext_noop(String) String
 # endif
 
+/* Support for bounded pointers.  */
+# ifndef __BOUNDED_POINTERS__
+#  define __bounded      /* nothing */
+#  define __unbounded    /* nothing */
+#  define __ptrvalue     /* nothing */
+# endif
+
 /* The `emacs' switch turns on certain matching commands
    that make sense only in Emacs. */
 # ifdef emacs

_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to