From: deraadt Date: Thu, 15 Jan 2015 22:08:41 +0000 (+0000) Subject: If some mythical system lacks PATH_MAX, do not set it to MAXPATHLEN+1 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=cb667b9181e440235a99af2697851077a5904b96;p=openbsd If some mythical system lacks PATH_MAX, do not set it to MAXPATHLEN+1 ok millert --- 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