more getconf/confstr fixes
This commit is contained in:
parent
d4ca2c9141
commit
2345d8b72b
11
mksh.1
11
mksh.1
@ -1,7 +1,7 @@
|
||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.63 2006/11/08 23:49:01 tg Exp $
|
||||
.\" $MirOS: src/bin/mksh/mksh.1,v 1.64 2006/11/09 22:11:08 tg Exp $
|
||||
.\" $OpenBSD: ksh.1,v 1.116 2006/07/26 10:13:25 jmc Exp $
|
||||
.\"
|
||||
.Dd November 8, 2006
|
||||
.Dd November 9, 2006
|
||||
.Dt MKSH 1
|
||||
.Os MirBSD
|
||||
.Sh NAME
|
||||
@ -2601,10 +2601,8 @@ exit, and command assignments are not permanent).
|
||||
If the
|
||||
.Fl p
|
||||
option is given, a default search path is used instead of the current value of
|
||||
.Ev PATH
|
||||
(the actual value of the default path is system dependent: on
|
||||
POSIX-ish systems, it is the value returned by
|
||||
.Ic getconf CS_PATH ) .
|
||||
.Ev PATH ,
|
||||
the actual value of which is system dependent.
|
||||
.Pp
|
||||
If the
|
||||
.Fl v
|
||||
@ -5195,7 +5193,6 @@ Privileged shell profile.
|
||||
.Xr arc4random 1 ,
|
||||
.Xr awk 1 ,
|
||||
.Xr ed 1 ,
|
||||
.Xr getconf 1 ,
|
||||
.Xr getopt 1 ,
|
||||
.Xr sed 1 ,
|
||||
.Xr sh 1 ,
|
||||
|
4
sh.h
4
sh.h
@ -8,7 +8,7 @@
|
||||
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
|
||||
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
|
||||
|
||||
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.63 2006/11/09 22:08:08 tg Exp $"
|
||||
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.64 2006/11/09 22:11:08 tg Exp $"
|
||||
#define MKSH_VERSION "R29 2006/11/09"
|
||||
|
||||
#if HAVE_SYS_PARAM_H
|
||||
@ -116,7 +116,7 @@ void *setmode(const char *);
|
||||
size_t strlcpy(char *, const char *, size_t);
|
||||
#endif
|
||||
|
||||
#if defined(__sun__)
|
||||
#if defined(__sun__) && !defined(_PATH_DEFPATH) && defined(_CS_PATH)
|
||||
size_t confstr(int, char *, size_t);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user