]> granicus.if.org Git - sudo/commitdiff
now removes LIBPATH for AIX
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Apr 1994 16:36:16 +0000 (16:36 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 28 Apr 1994 16:36:16 +0000 (16:36 +0000)
sudo.c

diff --git a/sudo.c b/sudo.c
index 102cabc9da253b2affa6476274e908a6013ae6d6..391bba45ca63495f68a5caf5f3de0e50c5ce4e64 100644 (file)
--- 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 */