cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs ./ChangeLog ./configure m4/bison.m4 m4/reg...


From: Derek Robert Price
Subject: [Cvs-cvs] ccvs ./ChangeLog ./configure m4/bison.m4 m4/reg...
Date: Tue, 11 Apr 2006 20:21:56 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Branch:         
Changes by:     Derek Robert Price <address@hidden>     06/04/11 20:21:56

Modified files:
        .              : ChangeLog configure 
        m4             : bison.m4 regex.m4 

Log message:
        * m4/bison.m4, m4/regex.m4: Update from GNULIB.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/ChangeLog.diff?tr1=1.1284&tr2=1.1285&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/configure.diff?tr1=1.437&tr2=1.438&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/bison.m4.diff?tr1=1.12&tr2=1.13&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/m4/regex.m4.diff?tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: ccvs/ChangeLog
diff -u ccvs/ChangeLog:1.1284 ccvs/ChangeLog:1.1285
--- ccvs/ChangeLog:1.1284       Tue Apr 11 16:55:46 2006
+++ ccvs/ChangeLog      Tue Apr 11 20:21:56 2006
@@ -1,5 +1,7 @@
 2006-04-11  Derek Price  <address@hidden>
 
+       * m4/bison.m4, m4/regex.m4: Update from GNULIB.
+
        * maint-aux/gnulib-update: Clarify output.
 
 2006-04-10  Derek Price  <address@hidden>
Index: ccvs/configure
diff -u ccvs/configure:1.437 ccvs/configure:1.438
--- ccvs/configure:1.437        Mon Apr 10 22:07:02 2006
+++ ccvs/configure      Tue Apr 11 20:21:56 2006
@@ -25021,16 +25021,22 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 $ac_includes_default
+          #include <limits.h>
           #include <regex.h>
 
 int
 main ()
 {
 static struct re_pattern_buffer regex;
+           unsigned char folded_chars[UCHAR_MAX + 1];
+           int i;
            const char *s;
            struct re_registers regs;
            re_set_syntax (RE_SYNTAX_POSIX_EGREP);
            memset (&regex, 0, sizeof (regex));
+           for (i = 0; i <= UCHAR_MAX; i++)
+             folded_chars[i] = i;
+           regex.translate = folded_chars;
            s = re_compile_pattern ("a[[:]:]]b\n", 11, &regex);
            /* This should fail with _Invalid character class name_ error.  */
            if (!s)
Index: ccvs/m4/bison.m4
diff -u ccvs/m4/bison.m4:1.12 ccvs/m4/bison.m4:1.13
--- ccvs/m4/bison.m4:1.12       Fri Apr  7 17:18:09 2006
+++ ccvs/m4/bison.m4    Tue Apr 11 20:21:56 2006
@@ -1,6 +1,6 @@
 #serial 4
 
-# Copyright (C) 2002 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2005 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
Index: ccvs/m4/regex.m4
diff -u ccvs/m4/regex.m4:1.9 ccvs/m4/regex.m4:1.10
--- ccvs/m4/regex.m4:1.9        Thu Mar 30 18:13:12 2006
+++ ccvs/m4/regex.m4    Tue Apr 11 20:21:56 2006
@@ -1,4 +1,4 @@
-#serial 35
+#serial 36
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 # 2006 Free Software Foundation, Inc.
@@ -38,13 +38,19 @@
       [AC_RUN_IFELSE(
        [AC_LANG_PROGRAM(
          [AC_INCLUDES_DEFAULT
+          #include <limits.h>
           #include <regex.h>
           ],
          [[static struct re_pattern_buffer regex;
+           unsigned char folded_chars[UCHAR_MAX + 1];
+           int i;
            const char *s;
            struct re_registers regs;
            re_set_syntax (RE_SYNTAX_POSIX_EGREP);
            memset (&regex, 0, sizeof (regex));
+           for (i = 0; i <= UCHAR_MAX; i++)
+             folded_chars[i] = i;
+           regex.translate = folded_chars;
            s = re_compile_pattern ("a[[:@:>@:]]b\n", 11, &regex);
            /* This should fail with _Invalid character class name_ error.  */
            if (!s)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]