[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29358] segmentation fault in isdir1 with grep-2.6.1
From: |
Javier Villavicencio |
Subject: |
[bug #29358] segmentation fault in isdir1 with grep-2.6.1 |
Date: |
Sun, 28 Mar 2010 18:22:43 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.2) Gecko/20100327 Gentoo Firefox/3.6.2 |
Follow-up Comment #6, bug #29358 (project grep):
I forgot, this one to main.c, manpage reads:
--include=GLOB
Search only files whose base name matches GLOB (using wildcard
matching as described under --exclude).
Which currently doesn't happens unless EXCLUDE_WILDCARDS is also on
add_exclude() options:
--- grep-2.6.1/src/main.c.orig
+++ grep-2.6.1/src/main.c
@@ -2066,7 +2066,7 @@
case INCLUDE_OPTION:
if (!included_patterns)
included_patterns = new_exclude ();
- add_exclude (included_patterns, optarg, EXCLUDE_INCLUDE);
+ add_exclude (included_patterns, optarg, EXCLUDE_INCLUDE |
EXCLUDE_WILDCARDS);
break;
case GROUP_SEPARATOR_OPTION:
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29358>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #29358] segmentation fault in isdir1 with grep-2.6.1, Brian Gough, 2010/03/27
- [bug #29358] segmentation fault in isdir1 with grep-2.6.1, Philipp Kohlbecher, 2010/03/28
- [bug #29358] segmentation fault in isdir1 with grep-2.6.1, Philipp Kohlbecher, 2010/03/28
- Re: [bug #29358] segmentation fault in isdir1 with grep-2.6.1, Jim Meyering, 2010/03/28
- [bug #29358] segmentation fault in isdir1 with grep-2.6.1, Jim Meyering, 2010/03/28
- [bug #29358] segmentation fault in isdir1 with grep-2.6.1, Philipp Kohlbecher, 2010/03/28
- [bug #29358] segmentation fault in isdir1 with grep-2.6.1, Javier Villavicencio, 2010/03/28
- [bug #29358] segmentation fault in isdir1 with grep-2.6.1,
Javier Villavicencio <=
- Re: [bug #29358] segmentation fault in isdir1 with grep-2.6.1, Jim Meyering, 2010/03/28