mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
(_hurd_startup): Don't bother terminating arg vectors, argz_extract does it now.
This commit is contained in:
parent
12fb2990d4
commit
d55dc14f28
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user