[PATCH] support for optional -delete and -path in 'find'

Natanael Copa natanael.copa at gmail.com
Tue Apr 10 12:15:20 UTC 2007


Hi,

Attached is a patch against current svn for optional support of the
-delete and -path option in the 'find' applet.

For the record: The -delete option can be dangerous. Use at your own
risk. (its turned off by default)

I was not sure about the use of perror(fileName) instead of
bb_perror_msg. 

I was thinking of a more verbose message like:

  bb_perror_msg("find: %s", fileName) 

but it would end up bigger and perror(fileName) seems to be good enough.

Comments?

Natanael Copa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb_find_delete+path.patch
Type: text/x-patch
Size: 3559 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070410/653792a4/attachment-0002.bin 


More information about the busybox mailing list