Per a suggestion from Tom Oehser, fix up the leading-hyphen hack to
authorEric Andersen <andersen@codepoet.org>
Thu, 21 Jun 2001 04:56:24 +0000 (04:56 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 21 Jun 2001 04:56:24 +0000 (04:56 -0000)
commitfa2661f2e5a95f0efd1f019c8ad8742af7bcb55b
treec8c65e09e7b4ddd10f031442ff63727f0ed46b04
parentaff5e2eaef3a625bfa7760e59a6cf29de5cb0282
Per a suggestion from Tom Oehser, fix up the leading-hyphen hack to
make it general.  Now all leading single hyphens are ignored for
purposed of applet name matching, while argv[0] is still passed
unaltered to applets, so leading-hyphen sensitive applets (such as sh)
can react accordingly.
 -Erik
applets/busybox.c
busybox.c