[PATCH] support for find -user

Denis Vlasenko vda.linux at googlemail.com
Thu Feb 1 22:36:52 UTC 2007


On Wednesday 31 January 2007 21:55, Natanael Copa wrote:
> The attatched patch adds support for option -user. The arg to -user can
> be either username or uid.
>
> Would be nice if it could be committed.
> Thanks!

+                       ap->uid = bb_strtoul(arg1, (char **)NULL, 10);

Why you use *strtoul* and then assign it to unsigned *int*?
Why cast?

Otherwise looks ok, applying...
--
vda



More information about the busybox mailing list