diff options
author | 2015-01-15 22:08:41 +0000 | |
---|---|---|
committer | 2015-01-15 22:08:41 +0000 | |
commit | cb667b9181e440235a99af2697851077a5904b96 (patch) | |
tree | ced526ca90cf702ae24e2655b33e4ca72a52de3e | |
parent | remove xmalloc, switch to sshbuf (diff) | |
download | wireguard-openbsd-cb667b9181e440235a99af2697851077a5904b96.tar.xz wireguard-openbsd-cb667b9181e440235a99af2697851077a5904b96.zip |
If some mythical system lacks PATH_MAX, do not set it to MAXPATHLEN+1
ok millert
-rw-r--r-- | usr.bin/make/arch.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c index fc1e870fcfa..5d1fd3375a1 100644 --- a/usr.bin/make/arch.c +++ b/usr.bin/make/arch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arch.c,v 1.83 2014/05/12 19:11:19 espie Exp $ */ +/* $OpenBSD: arch.c,v 1.84 2015/01/15 22:08:41 deraadt Exp $ */ /* $NetBSD: arch.c,v 1.17 1996/11/06 17:58:59 christos Exp $ */ /* @@ -96,14 +96,6 @@ #include "timestamp.h" #include "lst.h" -#ifndef PATH_MAX -# ifdef MAXPATHLEN -# define PATH_MAX (MAXPATHLEN+1) -# else -# define PATH_MAX 1024 -# endif -#endif - #ifdef TARGET_MACHINE #undef MACHINE #define MACHINE TARGET_MACHINE |