diff options
author | Bernhard Reutner-Fischer | 2006-06-03 10:28:25 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-06-03 10:28:25 +0000 |
commit | 62558765b91a535126a74c8464fa835900b11693 (patch) | |
tree | c87ae9361e5982a24c6ac29df0ec5e5e228e9e47 /shell | |
parent | 5c0ae06ef11d2ee7e4b184bd31a5650f2629b850 (diff) | |
download | busybox-62558765b91a535126a74c8464fa835900b11693.zip busybox-62558765b91a535126a74c8464fa835900b11693.tar.gz |
2006-06-02 Shaun Jackman <sjackman@gmail.com>
* shell/lash.c (pseudo_exec) [_NEWLIB_VERSION]: Remove the
__getopt_initialized hackery.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/lash.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/shell/lash.c b/shell/lash.c index 54408c9..b8ec8c6 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1268,12 +1268,7 @@ static int pseudo_exec(struct child_prog *child) { char** argv_l=child->argv; int argc_l; -#ifdef _NEWLIB_VERSION - /* newlib uses __getopt_initialized for getopt() in - * addition to optind, see newlib/libc/sys/linux/getopt.c - */ - extern int __getopt_initialized = 0; -#endif + for(argc_l=0;*argv_l!=NULL; argv_l++, argc_l++); optind = 1; run_applet_by_name(name, argc_l, child->argv); |