1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

Revert "stdlib: Support malloc-managed environ arrays for compatibility"

This reverts commit b62759db04.

Reason for revert: Incompatible with “env -i” and coreutils (bug 32588).

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
Florian Weimer
2025-01-24 08:04:23 +01:00
parent b62759db04
commit 36fcdfbbc5
7 changed files with 32 additions and 104 deletions

View File

@@ -244,7 +244,6 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL),
char **ev = &argv[argc + 1];
__environ = ev;
__environ_startup = ev;
/* Store the lowest stack address. This is done in ld.so if this is
the code for the DSO. */