diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2003-07-07 14:19:07 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2003-07-07 14:19:07 +0000 |
commit | 7b5c95f90d9c2ac78e23bc42832a4068efe3ec8f (patch) | |
tree | d759b7d3db0f487b71ffdcb941d5fe5da54c7e51 /security/ssh2/files | |
parent | 5c27a2fd83fc242b8b28c96cc72d5790f9e65302 (diff) |
Notes
Diffstat (limited to 'security/ssh2/files')
-rw-r--r-- | security/ssh2/files/patch-apps::ssh::sshchsession.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/ssh2/files/patch-apps::ssh::sshchsession.c b/security/ssh2/files/patch-apps::ssh::sshchsession.c new file mode 100644 index 000000000000..36f18b967cbe --- /dev/null +++ b/security/ssh2/files/patch-apps::ssh::sshchsession.c @@ -0,0 +1,22 @@ +--- apps/ssh/sshchsession.c.orig Thu Jul 3 00:19:57 2003 ++++ apps/ssh/sshchsession.c Thu Jul 3 00:21:12 2003 +@@ -218,8 +218,8 @@ + #ifdef _PATH_USERPATH + #define DEFAULT_PATH _PATH_USERPATH + #else +-#ifdef _PATH_DEFPATH +-#define DEFAULT_PATH _PATH_DEFPATH ++#ifdef _PATH_STDPATH ++#define DEFAULT_PATH _PATH_STDPATH + #else + #define DEFAULT_PATH "/bin:/usr/bin:/usr/ucb:/usr/bin/X11:/usr/local/bin" + #endif +@@ -502,7 +502,7 @@ + ssh_child_set_env(envp, envsizep, "HOME", user_dir); + ssh_child_set_env(envp, envsizep, "USER", user_name); + ssh_child_set_env(envp, envsizep, "LOGNAME", user_name); +- ssh_child_set_env(envp, envsizep, "PATH", DEFAULT_PATH ":" SSH_BINDIR); ++ ssh_child_set_env(envp, envsizep, "PATH", DEFAULT_PATH SSH_BINDIR); + + #ifdef MAIL_SPOOL_DIRECTORY + ssh_snprintf(buf, sizeof(buf), "%s/%s", MAIL_SPOOL_DIRECTORY, user_name); |