[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/19] find: Fix -regexptype parse specification bug: declare as
From: |
James Youngman |
Subject: |
[PATCH 11/19] find: Fix -regexptype parse specification bug: declare as POSOPT. |
Date: |
Fri, 10 Apr 2009 23:53:08 +0100 |
From: Thien-Thi Nguyen <address@hidden>
---
ChangeLog | 7 +++++++
find/parser.c | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 55c96fc..91b0072 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
+2009-04-10 Thien-Thi Nguyen <address@hidden>
+
+ Backport a fix from 4.5.x.
+ find: Fix -regexptype parse specification bug: declare as POSOPT.
+ * find/parser.c (parse_table): Parse -regextype as POSOPT.
+
2009-04-10 Jim Meyering <address@hidden>
+ Backport a fix from 4.5.x.
* README-CVS: tiny typo fix (s/fileutils/findutils/).
2009-04-10 James Youngman <address@hidden>
diff --git a/find/parser.c b/find/parser.c
index f40a92d..de4ef24 100644
--- a/find/parser.c
+++ b/find/parser.c
@@ -306,7 +306,7 @@ static struct parser_table const parse_table[] =
PARSE_ACTION ("quit", quit), /* GNU */
{ARG_TEST, "readable", parse_accesscheck, pred_readable},
/* GNU, 4.3.0+ */
PARSE_TEST ("regex", regex), /* GNU */
- PARSE_OPTION ("regextype", regextype), /* GNU */
+ PARSE_POSOPT ("regextype", regextype), /* GNU */
PARSE_TEST ("samefile", samefile), /* GNU */
#if 0
PARSE_OPTION ("show-control-chars", show_control_chars), /* GNU,
4.3.0+ */
--
1.5.6.5
- [PATCH 01/19] Applied doc patch from Stepan Kasal (backport), (continued)
- [PATCH 01/19] Applied doc patch from Stepan Kasal (backport), James Youngman, 2009/04/10
- [PATCH 02/19] Fix Savannah bug 22662 (nanoseconds wrongly appended after PM for find -printf %AX), James Youngman, 2009/04/10
- [PATCH 03/19] Fix bugs in bugfix for #22662, James Youngman, 2009/04/10
- [PATCH 04/19] Fixed Savannah bug #23663, crash in some locales for find -printf '%AX', James Youngman, 2009/04/10
- [PATCH 05/19] Fix bug #23996 (integer overflow when parsing "-used 3")., James Youngman, 2009/04/10
- [PATCH 06/19] Moved bugfixes in the NEWS file out of "Documentation Enhancements" into "Bug Fixes"., James Youngman, 2009/04/10
- [PATCH 07/19] Fix Savannah bug #24283, find-4.5.2 -printf %TY causes NULL pointer dereference, James Youngman, 2009/04/10
- [PATCH 08/19] Typo fix from Jim Meyering <address@hidden>, James Youngman, 2009/04/10
- [PATCH 09/19] fix a typo in a comment, James Youngman, 2009/04/10
- [PATCH 10/19] find: avoid using undefined statbuf, James Youngman, 2009/04/10
- [PATCH 11/19] find: Fix -regexptype parse specification bug: declare as POSOPT.,
James Youngman <=
- [PATCH 12/19] find: avoid warning about unused local, remove unnecessary include., James Youngman, 2009/04/10
- [PATCH 13/19] Really apply Jim's earlier patch., James Youngman, 2009/04/10
- [PATCH 14/19] Fix Savannah bug #25764, duplicate entry for proc in PRUNEFS., James Youngman, 2009/04/10
- [PATCH 15/19] Provide more detailed help on how to work with the git sources., James Youngman, 2009/04/10
- [PATCH 16/19] Ignore 'compile', James Youngman, 2009/04/10
- [PATCH 17/19] Change suffix for non-release versions from -CVS to -git., James Youngman, 2009/04/10
- [PATCH 18/19] clean tool-versions.txt for 'make distclean', James Youngman, 2009/04/10
- [PATCH 19/19] Remove unused Debian files; the Debian package doesn't use them., James Youngman, 2009/04/10