Patch to add the "-iname" option to find
Alexander Griesser
alexander.griesser at lkh-vil.or.at
Thu Dec 6 11:40:59 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bernhard Fischer wrote:
> ->+ "\n -iname PATTERN File name (w/o directory name) matches PATTERN (case insensitive)" \
> +>+ "\n -iname PATTERN Like -name but case insensitive" \
> Is shorter and as easy to understand.
ACK, good idea.
> What's the bloatcheck for this change?
Dunno. How to do that??
I found "scripts/bloat-o-meter" and used that for checking (if that's
suitable) and it reports (with your patch applied):
function old new delta
.rodata 51208 51248 +40
-
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 40/0) Total: 40
bytes
> Not sure if reusing ACTF(name) and trying to deduce FNM_CASEFOLD somehow
> would be smaller or cleaner..
It probably would be smaller as doubling code always is worse. I'll see
what I'm able to come up with and post the results here.
ciao,
- --
Alexander Griesser (Netzwerkadministration)
E-Mail: alexander.griesser at lkh-vil.or.at | Web: http://www.lkh-vil.or.at
KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach
Tel.: +43 4242 208 3061 | Fax.: +43 4242 971 3061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD4DBQFHV9/L66HVD6KUm1oRAiOnAKCGAWEAEW+Gz5ceRHVrOQEuMcUm3wCYlvrh
g1gaLJR344HNqPGxIHJeNw==
=STWT
-----END PGP SIGNATURE-----
More information about the busybox
mailing list