diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-16 15:17:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-16 15:17:35 +0000 |
commit | 1abe46974f76343c9d8f7b32a539017ae2a788ca (patch) | |
tree | 7cc01df6fa703d1f0bf72537e5b66286c4fc24eb /usr.bin | |
parent | 44e541685b329641f3d506c062d06f2b813373f2 (diff) |
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.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/main.c | 11 |
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 */ |