aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-05-28 02:48:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2012-05-28 02:48:55 +0200
commitaa4e5092f58f5a11018e569aee9cf037daf8c5d6 (patch)
treef8c01df8f7eb3dda4c0292df3548d9fced5e3297 /findutils
parentf5234398ef3010b68468cafe3e2ea89b2bb08a17 (diff)
downloadbusybox-w32-1_20_1.tar.gz
busybox-w32-1_20_1.tar.bz2
busybox-w32-1_20_1.zip
Apply post-1.20.0 patches, bump version to 1.20.11_20_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c
index fc0fc5c9f..0ec5bdfea 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -831,6 +831,11 @@ static action*** parse_params(char **argv)
831 PARM_name , 831 PARM_name ,
832 PARM_iname , 832 PARM_iname ,
833 IF_FEATURE_FIND_PATH( PARM_path ,) 833 IF_FEATURE_FIND_PATH( PARM_path ,)
834#if ENABLE_DESKTOP
835 /* -wholename is a synonym for -path */
836 /* We support it because Linux kernel's "make tags" uses it */
837 IF_FEATURE_FIND_PATH( PARM_wholename ,)
838#endif
834 IF_FEATURE_FIND_PATH( PARM_ipath ,) 839 IF_FEATURE_FIND_PATH( PARM_ipath ,)
835 IF_FEATURE_FIND_REGEX( PARM_regex ,) 840 IF_FEATURE_FIND_REGEX( PARM_regex ,)
836 IF_FEATURE_FIND_TYPE( PARM_type ,) 841 IF_FEATURE_FIND_TYPE( PARM_type ,)
@@ -869,6 +874,9 @@ static action*** parse_params(char **argv)
869 "-name\0" 874 "-name\0"
870 "-iname\0" 875 "-iname\0"
871 IF_FEATURE_FIND_PATH( "-path\0" ) 876 IF_FEATURE_FIND_PATH( "-path\0" )
877#if ENABLE_DESKTOP
878 IF_FEATURE_FIND_PATH( "-wholename\0")
879#endif
872 IF_FEATURE_FIND_PATH( "-ipath\0" ) 880 IF_FEATURE_FIND_PATH( "-ipath\0" )
873 IF_FEATURE_FIND_REGEX( "-regex\0" ) 881 IF_FEATURE_FIND_REGEX( "-regex\0" )
874 IF_FEATURE_FIND_TYPE( "-type\0" ) 882 IF_FEATURE_FIND_TYPE( "-type\0" )
@@ -1076,7 +1084,7 @@ static action*** parse_params(char **argv)
1076 ap->iname = (parm == PARM_iname); 1084 ap->iname = (parm == PARM_iname);
1077 } 1085 }
1078#if ENABLE_FEATURE_FIND_PATH 1086#if ENABLE_FEATURE_FIND_PATH
1079 else if (parm == PARM_path || parm == PARM_ipath) { 1087 else if (parm == PARM_path IF_DESKTOP(|| parm == PARM_wholename) || parm == PARM_ipath) {
1080 action_path *ap; 1088 action_path *ap;
1081 dbg("%d", __LINE__); 1089 dbg("%d", __LINE__);
1082 ap = ALLOC_ACTION(path); 1090 ap = ALLOC_ACTION(path);