[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: [BusyBox] bug#1144: find <path> fails
From: David Douthitt <ssrat () mailbag ! com>
Date: 2001-03-28 20:58:37
[Download RAW message or body]
Package: busybox
Version: 0.50
find . -print fails. Under 0.49 it states this as an option; under
0.50 the option is gone.
This patch adds the option back in and basically makes it a "null"
option...
The patch also works against 0.51pre ...
["find-fix.patch" (text/plain)]
--- busybox-0.50/usage.h Fri Mar 16 02:06:30 2001
+++ busybox-0.50.new/usage.h Wed Mar 28 14:52:47 2001
@@ -416,6 +416,7 @@
"\nEXPRESSION may consist of:\n" \
"\t-follow\t\tDereference symbolic links.\n" \
"\t-name PATTERN\tFile name (leading directories removed) matches PATTERN." \
+ "\t-print\t\tPrint (default and assumed).\n" \
USAGE_FIND_TYPE( \
"\n\t-type X\t\tFiletype matches X (where X is one of: f,d,l,b,c,...)" \
) USAGE_FIND_PERM( \
--- busybox-0.50/find.c Tue Feb 20 00:14:07 2001
+++ busybox-0.50.new/find.c Wed Mar 28 14:51:42 2001
@@ -143,6 +143,9 @@
for (i = firstopt; i < argc; i++) {
if (strcmp(argv[i], "-follow") == 0)
dereference = TRUE;
+ else if (strcmp(argv[i], "-print") == 0) {
+ ;
+ }
else if (strcmp(argv[i], "-name") == 0) {
if (++i == argc)
error_msg_and_die("option `-name' requires an argument");
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic