451_login_PATH was applied upstream.

This commit is contained in:
nekral-guest
2008-03-19 18:38:28 +00:00
parent d27a65e33b
commit e8f45d238f
2 changed files with 2 additions and 36 deletions
+2
View File
@@ -7,6 +7,8 @@ shadow (1:4.1.1~rc1-1) UNRELEASED; urgency=low
Closes: #461670
- Fix infinite loop in usermod when two groups have the same name.
Closes: #470745
- Remove patches applied upstream:
+ debian/patches/451_login_PATH
* debian/watch: Add a watch file for shadow.
-- Nicolas FRANCOIS (Nekral) <nicolas.francois@centraliens.net> Sun, 24 Feb 2008 18:33:31 +0100
-36
View File
@@ -1,36 +0,0 @@
Goal: set PATH according to ENV_SUPATH and ENV_PATH (for login), as for
su.
Fixes: #330803
Status wrt upstream:
Index: shadow-4.1.0/libmisc/setupenv.c
===================================================================
--- shadow-4.1.0.orig/libmisc/setupenv.c
+++ shadow-4.1.0/libmisc/setupenv.c
@@ -186,8 +186,8 @@
{
#ifndef USE_PAM
char *envf;
- char *cp;
#endif
+ char *cp;
/*
* Change the current working directory to be the home directory
@@ -242,7 +242,6 @@
addenv ("USER", info->pw_name);
addenv ("LOGNAME", info->pw_name);
-#ifndef USE_PAM
/*
* Create the PATH environmental variable and export it.
*/
@@ -259,6 +258,7 @@
/* only value specified without "PATH=" */
addenv ("PATH", cp);
}
+#ifndef USE_PAM
/*
* Create the MAIL environmental variable and export it. login.defs