blob: f6b3bed1ea5b2f39deeb1b46b6ca29ca7c0cf2c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Index: b/usr/src/lib/libc/port/gen/confstr.c
===================================================================
--- a/usr/src/lib/libc/port/gen/confstr.c
+++ b/usr/src/lib/libc/port/gen/confstr.c
@@ -101,13 +101,7 @@ confstr(int name, char *buf, size_t leng
/* Keep _CS_PATH in sync with execvp.c */
if (name == _CS_PATH) {
- if (__xpg6 & _C99SUSv3_XPG6_sysconf_version)
- path = "/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:"
- "/usr/bin:/opt/SUNWspro/bin";
- else
- path = "/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:"
- "/opt/SUNWspro/bin";
-
+ path = "/usr/bin";
conf_length = strlen(path) + 1;
if (length != 0) {
(void) strncpy(buf, path, length);
|