Bugzilla – Attachment 3239 Details for
Bug 2937
Unable to disable $MAIL setting.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check use_pam instead of preprocessor
bz2937.diff (text/plain), 612 bytes, created by
Damien Miller
on 2019-02-08 13:07:04 AEDT
(
hide
)
Description:
check use_pam instead of preprocessor
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2019-02-08 13:07:04 AEDT
Size:
612 bytes
patch
obsolete
>diff --git a/session.c b/session.c >index 4862e5d6..016ec2c7 100644 >--- a/session.c >+++ b/session.c >@@ -1050,8 +1050,11 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell) > # endif /* HAVE_CYGWIN */ > #endif /* HAVE_LOGIN_CAP */ > >- snprintf(buf, sizeof buf, "%.200s/%.50s", _PATH_MAILDIR, pw->pw_name); >- child_set_env(&env, &envsize, "MAIL", buf); >+ if (!options.use_pam) >+ snprintf(buf, sizeof buf, "%.200s/%.50s", >+ _PATH_MAILDIR, pw->pw_name); >+ child_set_env(&env, &envsize, "MAIL", buf); >+ } > > /* Normal systems set SHELL by default. */ > child_set_env(&env, &envsize, "SHELL", shell);
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
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2937
:
3210
| 3239