a6459ea267
release). In relation to Tripwire 1.x, 2.x is a complete rewrite. PR: ports/29137 Submitted by: nectar (first review), cjc (second review)
15 lines
558 B
C
15 lines
558 B
C
--- src/core/msystem.h.orig Fri Oct 27 18:15:20 2000
|
|
+++ src/core/msystem.h Fri Feb 22 13:53:33 2002
|
|
@@ -114,7 +114,11 @@
|
|
# define GID_RESET -2 /* reset EGID to RGID */
|
|
#endif
|
|
#ifndef DEF_PATH
|
|
-# define DEF_PATH "PATH=/bin:/usr/bin:/usr/ucb" /* default search path */
|
|
+#ifdef __FreeBSD_cc_version
|
|
+# define DEF_PATH "PATH=/sbin:/usr/sbin:/bin:/usr/bin" /* default search path */
|
|
+#else
|
|
+# define DEF_PATH "PATH=/bin:/usr/bin:/usr/ucb" /* default search path */
|
|
+#endif
|
|
#endif
|
|
#ifndef DEF_SHELL
|
|
# define DEF_SHELL "SHELL=/bin/sh" /* default shell */
|