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 --- posix/environ.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'posix') diff --git a/posix/environ.c b/posix/environ.c index 2430b47..a0ed0d8 100644 --- a/posix/environ.c +++ b/posix/environ.c @@ -10,5 +10,3 @@ weak_alias (__environ, environ) /* The SVR4 ABI says `_environ' will be the name to use in case the user overrides the weak alias `environ'. */ weak_alias (__environ, _environ) - -char **__environ_startup; -- cgit v1.1