From 842050da1c14d7dbe365cd750032fcd8eaaa1db2 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Fri, 26 Sep 2014 17:18:35 +0800 Subject: [BUILTIN] Set command -p path to /usr/sbin:/usr/bin:/sbin:/bin Exclude /usr/local from command -p PATH. Signed-off-by: Herbert Xu --- ChangeLog | 1 + src/var.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eb3bbc3..ba67b6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2014-09-26 Herbert Xu * Small optimisation of command -pv change. + * Set command -p path to /usr/sbin:/usr/bin:/sbin:/bin. 2014-09-26 Harald van Dijk diff --git a/src/var.h b/src/var.h index 79ee71a..872e2db 100644 --- a/src/var.h +++ b/src/var.h @@ -107,7 +107,7 @@ extern const char defifsvar[]; extern const char defifs[]; #endif extern const char defpathvar[]; -#define defpath (defpathvar + 5) +#define defpath (defpathvar + 36) extern int lineno; extern char linenovar[]; -- cgit 1.4.1 d3fc8c69ca099c6110e30efb03d27b9d6e95b'>refs log tree commit diff
Commit message (Expand)Author
2022-10-16Update to Linux man-mages 6.00Štěpán Němec
2022-10-16Update to NetBSD 9.3Štěpán Němec
2022-09-18Make copyrights and AUTHORS consistentJune McEnroe
2022-07-27Update to FreeBSD 13.1 2062.83June McEnroe
2022-07-27openbsd: Include man pages from baseXX.tgzKeith Whitney
2022-05-08Update to OpenBSD 7.1 2062.73June McEnroe
2021-10-15Update to OpenBSD 7.0 2062.63June McEnroe
2021-08-29Update to Linux man-pages 5.13 2062.53Štěpán Němec
2021-08-26Update to NetBSD 9.2 2062.52June McEnroe
2021-08-26Support DESTDIR in install/uninstallJune McEnroe
2021-08-26Add version number generatorJune McEnroe
2021-08-22Add ISC license headerJune McEnroe
2021-08-22Update to Linux man-pages 5.12Štěpán Němec
2021-06-21Add manuals for macOS 11.3June McEnroe
2021-05-08Update to OpenBSD 6.9June McEnroe
2021-04-26Update to Linux man-pages 5.11June McEnroe
2021-04-26Update to FreeBSD 13.0June McEnroe
2021-01-27Completely rewrite how manuals are fetched and installedJune McEnroe
2020-12-14Update to man-pages-posix 2017-aJune McEnroe
2020-12-14Update to OpenBSD 6.8June McEnroe
2020-12-14Update to NetBSD 9.1June McEnroe
2020-12-14Update to man-pages 5.09June McEnroe
2020-12-14Update to FreeBSD 12.2June McEnroe
2020-06-08Update to OpenBSD 6.7June McEnroe
2020-05-04Add hack for macOS to search extra man sectionsJune McEnroe
2020-05-04Don't clear MANSECTJune McEnroe