[PATCH] add yesno helper function

Denys Vlasenko vda.linux at googlemail.com
Fri Apr 2 21:15:49 UTC 2010


On Friday 02 April 2010 17:18, Bernhard Reutner-Fischer wrote:
> 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

Added.
-- 
vda


More information about the busybox mailing list