From: Todd C. Miller Date: Thu, 28 Apr 1994 16:36:16 +0000 (+0000) Subject: now removes LIBPATH for AIX X-Git-Tag: SUDO_1_3_1~272 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4624211f85ea1bb7ce05fbbcb54ba916ca2667af;p=sudo now removes LIBPATH for AIX --- diff --git a/sudo.c b/sudo.c index 102cabc9d..391bba45c 100644 --- a/sudo.c +++ b/sudo.c @@ -301,6 +301,9 @@ static void clean_env(envp) #ifdef hpux rmenv(envp, "SHLIB_PATH", 10); #endif /* hpux */ +#ifdef _AIX + rmenv(envp, "LIBPATH", 7); +#endif /* _AIX */ #ifdef __alpha rmenv(envp, "_RLD_", 5); #endif /* __alpha */