summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-16 15:17:34 +0000
committerderaadt <deraadt@openbsd.org>2015-01-16 15:17:34 +0000
commit8b9b7712d967baf400d55cd51cabb3fc31cc7ee0 (patch)
treec400451cd8a25a9b1d100ba049b48cd28d284ad9
parentSSL_CTX_use_certificate_chain() has been added to LibreSSL and there (diff)
downloadwireguard-openbsd-8b9b7712d967baf400d55cd51cabb3fc31cc7ee0.tar.xz
wireguard-openbsd-8b9b7712d967baf400d55cd51cabb3fc31cc7ee0.zip
The make code has "bootstrap", to allow it to be brought up on other
systems. Rarely used & tested -- perhaps once a decade. Perhaps not even once this decade? Anyways, #define PATH_MAX (MAXPATHLEN+1) is quite wrong. Delete the chunk, assuming any system this is ported to has PATH_MAX.
-rw-r--r--usr.bin/make/main.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 7f2f0eeaaab..7b2e638550a 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.104 2014/07/15 23:07:19 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.105 2015/01/16 15:17:34 deraadt Exp $ */
/* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */
/*
@@ -68,15 +68,6 @@
#include "make.h"
#include "dump.h"
-#ifndef PATH_MAX
-# ifdef MAXPATHLEN
-# define PATH_MAX (MAXPATHLEN+1)
-# else
-# define PATH_MAX 1024
-# endif
-#endif
-
-
#define MAKEFLAGS ".MAKEFLAGS"
static LIST to_create; /* Targets to be made */