Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 130837 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-colorterm.patch
shadow-4.0.18.1-su-preserve-colorterm.patch (text/plain), 407 bytes, created by
srrijkers
on 2007-09-13 15:09:55 UTC
(
hide
)
Description:
shadow-4.0.18.1-su-preserve-colorterm.patch
Filename:
MIME Type:
Creator:
srrijkers
Created:
2007-09-13 15:09:55 UTC
Size:
407 bytes
patch
obsolete
>--- src/su.c.orig 2007-09-13 16:25:18.000000000 +0200 >+++ src/su.c 2007-09-13 16:31:13.000000000 +0200 >@@ -516,6 +516,12 @@ > */ > if ((cp = getenv ("TERM"))) > addenv ("TERM", cp); >+ >+ /* >+ * Do the same thing for COLORTERM. >+ */ >+ if ((cp = getenv ("COLORTERM"))) >+ addenv ("COLORTERM", 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