Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 192432 | Differences between
and this patch

Collapse All | Expand All

(-)src/su.c.orig (+10 lines)
Lines 516-521 Link Here
516
		 */
516
		 */
517
		if ((cp = getenv ("TERM")))
517
		if ((cp = getenv ("TERM")))
518
			addenv ("TERM", cp);
518
			addenv ("TERM", cp);
519
520
		/*
521
		 * Do the same thing for COLORTERM, STY, and WINDOW.
522
		 */
523
		if ((cp = getenv ("COLORTERM")))
524
			addenv ("COLORTERM", cp);
525
		if ((cp = getenv ("STY")))
526
			addenv ("STY", cp);
527
		if ((cp = getenv ("WINDOW")))
528
			addenv ("WINDOW", cp);
519
#ifndef USE_PAM
529
#ifndef USE_PAM
520
		if ((cp = getdef_str ("ENV_TZ")))
530
		if ((cp = getdef_str ("ENV_TZ")))
521
			addenv (*cp == '/' ? tz (cp) : cp, NULL);
531
			addenv (*cp == '/' ? tz (cp) : cp, NULL);

Return to bug 192432