bugzilla-daemon at mindrot.org
2003-Mar-24 17:54 UTC
[Bug 518] _PATH_STDPATH can get redefined in includes.h if paths.h exists
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.