From 476d84ff75b53950a57731b1f55ba1226a630a1d Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Mon, 15 Jul 2002 21:56:40 +0000 Subject: [PATCH] Move _CS_PATH from to -- the kernel isn't involved in confstr() processing. --- include/unistd.h | 2 ++ sys/sys/unistd.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/unistd.h b/include/unistd.h index ff858bf76338..7abf307a9c48 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -141,6 +141,8 @@ int getopt(int, char * const [], const char *); extern char *optarg; /* getopt(3) external variables */ extern int optind, opterr, optopt; + +#define _CS_PATH 1 /* default value of PATH */ #endif /* ISO/IEC 9945-1: 1996 */ diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index ca0a0c6ee06a..1a49297033ab 100644 --- a/sys/sys/unistd.h +++ b/sys/sys/unistd.h @@ -145,9 +145,6 @@ #define _SC_STREAM_MAX 26 #define _SC_TZNAME_MAX 27 -/* configurable system strings */ -#define _CS_PATH 1 - #ifdef _P1003_1B_VISIBLE #define _POSIX_PRIORITY_SCHEDULING