[Bug 82] scp: Command not found errors
Chris Adams
cmadams at hiwaay.net
Sat Jan 26 13:58:51 EST 2002
Once upon a time, bugzilla-daemon at mindrot.org <bugzilla-daemon at mindrot.org> said:
> Yes, in 3.0.2p1 it causes USER_PATH to be defined in config.h. However,
> it's not used in any of the code.
Wrong again.
Look at defines.h, lines 315-320 in OpenSSH 3.0.2p1:
#ifdef USER_PATH
# ifdef _PATH_STDPATH
# undef _PATH_STDPATH
# endif
# define _PATH_STDPATH USER_PATH
#endif
Then look at session.c, line 1235:
child_set_env(&env, &envsize, "PATH", _PATH_STDPATH);
--with-default-path _is_ used.
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
More information about the openssh-unix-dev
mailing list