[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43527: [PATCH] grep: avoid unneeded compilation of regex
From: |
Norihiro Tanaka |
Subject: |
bug#43527: [PATCH] grep: avoid unneeded compilation of regex |
Date: |
Wed, 23 Sep 2020 12:04:26 +0900 |
On Tue, 22 Sep 2020 16:25:06 -0700
Jim Meyering <jim@meyering.net> wrote:
> Oh! Good timing. I was about to make a new snapshot.
> Do you happen to have a test case handy that demonstrates the failure?
I added test case to previous patch.
By the way, I found the following bug in making the test case, and it's
still left.
$ env LC_ALL=tr_TR.utf8 grep -Fio i in
Aborted (core dumped)
(gdb) bt
#0 0x0000003b8d032495 in raise () from /lib64/libc.so.6
#1 0x0000003b8d033c75 in abort () from /lib64/libc.so.6
#2 0x000000000040cdde in kwsinit (mb_trans=true) at searchutils.c:64
#3 0x0000000000409624 in Fcompile (pattern=0x23c1240 "i\n", size=1, ignored=0,
exact=true) at kwsearch.c:56
#4 0x0000000000409378 in main (argc=4, argv=0x7ffe76048388) at grep.c:2977
0001-grep-fix-a-bug-in-the-previous-commit.patch
Description: Text document
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Norihiro Tanaka, 2020/09/20
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Jim Meyering, 2020/09/20
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Jim Meyering, 2020/09/21
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Norihiro Tanaka, 2020/09/22
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Jim Meyering, 2020/09/22
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Norihiro Tanaka, 2020/09/22
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Jim Meyering, 2020/09/22
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex,
Norihiro Tanaka <=
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Jim Meyering, 2020/09/23
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Paul Eggert, 2020/09/23
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Jim Meyering, 2020/09/23
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Jim Meyering, 2020/09/26
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Paul Eggert, 2020/09/26
- bug#43527: [PATCH] grep: avoid unneeded compilation of regex, Norihiro Tanaka, 2020/09/26