From: Thien-Thi Nguyen <[email protected]> --- 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 <[email protected]> + + 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 <[email protected]> + Backport a fix from 4.5.x. * README-CVS: tiny typo fix (s/fileutils/findutils/). 2009-04-10 James Youngman <[email protected]> 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
