Bugzilla – Attachment 133 Details for
Bug 365
.ssh/environment not read when home = /
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Correct .ssh/environment path under cygwin
session.c.diff (text/plain), 431 bytes, created by
Mark Bradshaw
on 2002-07-19 23:01:52 AEST
(
hide
)
Description:
Correct .ssh/environment path under cygwin
Filename:
MIME Type:
Creator:
Mark Bradshaw
Created:
2002-07-19 23:01:52 AEST
Size:
431 bytes
patch
obsolete
>--- session.c.orig 2002-07-17 18:24:24.000000000 -0400 >+++ session.c 2002-07-19 08:55:59.000000000 -0400 >@@ -1053,7 +1053,7 @@ do_setup_env(Session *s, const char *she > /* read $HOME/.ssh/environment. */ > if (!options.use_login) { > snprintf(buf, sizeof buf, "%.200s/.ssh/environment", >- pw->pw_dir); >+ strcmp(pw->pw_dir, "/") ? pw->pw_dir : ""); > read_environment_file(&env, &envsize, buf); > } > if (debug_flag) {
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 365
: 133