[Bug 518] _PATH_STDPATH can get redefined in includes.h if paths.h exists
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Mar 25 04:54:10 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=518
Summary: _PATH_STDPATH can get redefined in includes.h if paths.h
exists
Product: Portable OpenSSH
Version: 3.5p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: rvz at lucent.com
In versions of openssh 3.2.3p1 and later, the defines.h file was modified and
the following was added:
#ifdef HAVE_PATHS_H
# include <paths.h> /* For _PATH_XXX */
#endif
Unfortunately the above comes after the inclusion of defines.h (through
config.h) which sets _PATH_STDPATH to USER_PATH if it has been defined in the
configure file. The result of which resets _PATH_STDPATH back to the system
default and not what was computed during the configure run.
Once compiled, this results in execution failures if the command being run is
not located under the PATH of the system default _PATH_STDPATH.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-unix-dev
mailing list