* src/su.c: Fix handling of environment variables when

the environment is not changed. In particular, this makes su
	behave as documented regarding PATH and IFS (i.e. they are reset)
	when -p is provided.
This commit is contained in:
nekral-guest
2010-08-28 19:55:31 +00:00
parent bf480028f5
commit 991ce97170
2 changed files with 13 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
2010-08-28 Nicolas François <nicolas.francois@centraliens.net>
* src/su.c: Fix handling of environment variables when
the environment is not changed. In particular, this makes su
behave as documented regarding PATH and IFS (i.e. they are reset)
when -p is provided.
2010-08-28 Nicolas François <nicolas.francois@centraliens.net>
* man/su.1.xml: Fix typo.