diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2009-01-17 13:51:50 +0100 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2009-04-10 23:44:47 +0100 |
commit | f85aecbfcc007050090734fcce53b56dae9b7670 (patch) | |
tree | 55630ab79ce773507b4ae4705df07b35748b58d6 | |
parent | cecfe3ef8e4db51d97f0cbed864f47893adc354e (diff) | |
download | findutils-f85aecbfcc007050090734fcce53b56dae9b7670.tar.gz |
find: Fix -regexptype parse specification bug: declare as POSOPT.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | find/parser.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,12 @@ +2009-04-10 Thien-Thi Nguyen <ttn@gnuvola.org> + + 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 <meyering@redhat.com> + Backport a fix from 4.5.x. * README-CVS: tiny typo fix (s/fileutils/findutils/). 2009-04-10 James Youngman <jay@gnu.org> diff --git a/find/parser.c b/find/parser.c index f40a92dc..de4ef240 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+ */ |