summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpp/cpp.sh
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2019-09-28 17:30:07 +0000
committerajacoutot <ajacoutot@openbsd.org>2019-09-28 17:30:07 +0000
commit1a49fa34ae3de435d3bc8be7cc75d47be4a71074 (patch)
tree39c00d3b5cbf69982233848a177eda6bf31c5aa0 /usr.bin/cpp/cpp.sh
parentIt is better style if path[] buffers are PATH_MAX, rather than (diff)
downloadwireguard-openbsd-1a49fa34ae3de435d3bc8be7cc75d47be4a71074.tar.xz
wireguard-openbsd-1a49fa34ae3de435d3bc8be7cc75d47be4a71074.zip
Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor
X11R6). Suggested by tb@ ok deraadt@ tb@ millert@
Diffstat (limited to 'usr.bin/cpp/cpp.sh')
-rw-r--r--usr.bin/cpp/cpp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cpp/cpp.sh b/usr.bin/cpp/cpp.sh
index e842ad665fb..f88625fab9e 100644
--- a/usr.bin/cpp/cpp.sh
+++ b/usr.bin/cpp/cpp.sh
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: cpp.sh,v 1.9 2013/12/09 02:35:09 guenther Exp $
+# $OpenBSD: cpp.sh,v 1.10 2019/09/28 17:30:07 ajacoutot Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -39,7 +39,7 @@
# specifies -traditional
# doesn't search gcc-include
#
-PATH=/usr/bin:/bin
+PATH=/usr/bin:/bin:/usr/sbin:/sbin
TRAD=-traditional
DGNUC="@GNUC@"
STDINC="-I/usr/include"