On Fri, Apr 02, 2010 at 08:10:44AM +0200, Denys Vlasenko wrote: >On Thursday 18 March 2010 12:27, Bernhard Reutner-Fischer wrote: >> untested
>This prefers longer matches: "foo" = "foobarbaz" preferred >over "foo" = "foobar". Don't see why it should be this way. >More logical is to return -1, since the match is ambiguous in this case. > >You calculate strlen(strings) twice. >How about this patch? yes, what i ment to say :) please install (except the 'yesno' part, let's put that into brctl directly with a note to factoring 'yesno' iff other users pop up). thanks! _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
