Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131040 Details for
Bug 192432
sys-apps/shadow: Patch to make su -l preserve COLORTERM env var
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
shadow-4.0.18.1-su-preserve-variables.patch
shadow-4.0.18.1-su-preserve-variables.patch (text/plain), 538 bytes, created by
srrijkers
on 2007-09-16 12:19:44 UTC
(
hide
)
Description:
shadow-4.0.18.1-su-preserve-variables.patch
Filename:
MIME Type:
Creator:
srrijkers
Created:
2007-09-16 12:19:44 UTC
Size:
538 bytes
patch
obsolete
>--- src/su.c.orig 2006-08-01 12:30:02.000000000 +0200 >+++ src/su.c 2007-09-16 14:04:08.000000000 +0200 >@@ -516,6 +516,16 @@ > */ > if ((cp = getenv ("TERM"))) > addenv ("TERM", cp); >+ >+ /* >+ * Do the same thing for COLORTERM, STY, and WINDOW. >+ */ >+ if ((cp = getenv ("COLORTERM"))) >+ addenv ("COLORTERM", cp); >+ if ((cp = getenv ("STY"))) >+ addenv ("STY", cp); >+ if ((cp = getenv ("WINDOW"))) >+ addenv ("WINDOW", cp); > #ifndef USE_PAM > if ((cp = getdef_str ("ENV_TZ"))) > addenv (*cp == '/' ? tz (cp) : cp, NULL);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192432
:
130837
| 131040