bug#16895: [PATCH] grep: fix multiple bugs with bracket expressions

2014-02-27 Thread Paul Eggert
Tags: patch done I'm afraid there are several problems in the dfa code. I still don't have a handle on all of them, but here's my first patch to deal with the first major one I found. Patterns like [a-[.z.]], which caused 'grep' to dump core until recently, still aren't being handled correct

bug#16893: [PATCH] Avoid matching line-by-line for case-insensitive with grep

2014-02-27 Thread Glenn Morris
This message was sent to the submit@debbugs address with no "Package:" specified in the body. So it ended up on the help-debbugs mailing list rather than bug-grep. I have assigned it to grep and am sending this mail, which will appear on the bug-grep list. For new reports, either use the bug-gre

bug#16895: [PATCH] grep: fix multiple bugs with bracket expressions

2014-02-27 Thread Aharon Robbins
Hi Paul. > Subject: bug#16895: [PATCH] grep: fix multiple bugs with bracket expressions > To: 16...@debbugs.gnu.org > Date: Thu, 27 Feb 2014 09:34:33 -0800 > From: Paul Eggert > > I'm afraid there are several problems in the dfa code. I still don't > have a handle on all of them, but here's my

bug#16895: [PATCH] grep: fix multiple bugs with bracket expressions

2014-02-27 Thread Paul Eggert
On 02/27/2014 12:31 PM, Aharon Robbins wrote: What a mouthful! Is all that really necessary? You should have seen it before I trimmed it down; it listed every POSIX character. I dunno, maybe it could be trimmed, but I was worried about oddball character sets like the unibyte JIS character

bug#16893: [PATCH] Avoid matching line-by-line for case-insensitive with grep

2014-02-27 Thread Jim Meyering
On Thu, Feb 27, 2014 at 8:54 AM, Glenn Morris wrote: > > This message was sent to the submit@debbugs address with no > "Package:" specified in the body. So it ended up on the help-debbugs > mailing list rather than bug-grep. I have assigned it to grep and am > sending this mail, which will appear

bug#16898: FYI: maint: dfa: pass NULL, not 0, as 2nd arg to setlocale

2014-02-27 Thread Jim Meyering
From d75266b4fd3dbfee88d81d3e87a2a9366c5d5cbb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 27 Feb 2014 19:01:59 -0800 Subject: [PATCH] maint: dfa: pass NULL, not 0, as 2nd arg to setlocale * src/dfa.c (using_simple_locale): Use NULL, not 0. --- src/dfa.c | 2 +- 1 file changed, 1 inse