From 36fcdfbbc5463e55581fec67141df3493fb81f7e Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 24 Jan 2025 08:04:23 +0100 Subject: Revert "stdlib: Support malloc-managed environ arrays for compatibility" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b62759db04b8ed7f829c06f1d7c3b8fb70616493. Reason for revert: Incompatible with “env -i” and coreutils (bug 32588). Reviewed-by: H.J. Lu --- csu/libc-start.c | 1 - 1 file changed, 1 deletion(-) (limited to 'csu/libc-start.c') diff --git a/csu/libc-start.c b/csu/libc-start.c index 4e15b6191d..6f3d52e223 100644 --- a/csu/libc-start.c +++ b/csu/libc-start.c @@ -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. */ -- cgit v1.2.3