On Wednesday 18 July 2007 01:10:40 Denis Vlasenko wrote:
> Applied to svn with minor changes. For example, we were comparing argv[0]
> with "view", but argv[0] can be "/bin/view"! Right thing is
>
> strncmp(appliet_name, "view", 4)
Why not:
if (*applet_name[3])
Just an idea....
Ciao,
Tito
> BTW, any idea why strNcmp? Can it really be "viewsomething"? I'm no expert
> on vi...
> --
> vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox