diff options
author | Miles Bader <miles@gnu.org> | 1996-05-22 22:23:31 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-05-22 22:23:31 +0000 |
commit | d55dc14f280b4de6ad42bef26c7462436e6e10f4 (patch) | |
tree | 71dc9243c5c6a34b8f23ca088276bce6d0123c2e | |
parent | 12fb2990d48f32e4b656a0335bcf020c7518292b (diff) | |
download | glibc-d55dc14f280b4de6ad42bef26c7462436e6e10f4.zip glibc-d55dc14f280b4de6ad42bef26c7462436e6e10f4.tar.gz glibc-d55dc14f280b4de6ad42bef26c7462436e6e10f4.tar.bz2 |
(_hurd_startup): Don't bother terminating arg vectors, argz_extract does it now.
-rw-r--r-- | hurd/hurdstartup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hurd/hurdstartup.c b/hurd/hurdstartup.c index 577be1e..17a7705 100644 --- a/hurd/hurdstartup.c +++ b/hurd/hurdstartup.c @@ -137,12 +137,10 @@ _hurd_startup (void **argptr, void (*main) (int *data)) *argcptr = argc; argv = (void *) (argcptr + 1); __argz_extract (args, argslen, argv); - argv[argc] = 0; /* There was some environment. */ envp = &argv[argc + 1]; __argz_extract (env, envlen, envp); - envp[envc] = 0; } if (err || in_bootstrap == MACH_PORT_NULL) |