summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/grep/02-bracket.patch
blob: f99571c020341f9258ededa65c5db49c78b660dd (plain)
1
2
3
4
5
6
7
8
9
10
11
--- grep-2.5.1/src/dfa.c.bracket	2003-10-30 16:21:14.000000000 +0000
+++ grep-2.5.1/src/dfa.c	2003-10-30 16:22:38.000000000 +0000
@@ -586,7 +586,7 @@
 		      work_mbc->coll_elems[work_mbc->ncoll_elems++] = elem;
 		    }
  		}
-	      wc = -1;
+	      wc1 = wc = -1;
 	    }
 	  else
 	    /* We treat '[' as a normal character here.  */