summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2013-07-07 09:41:08 +0000
committerespie <espie@openbsd.org>2013-07-07 09:41:08 +0000
commit1d3ff1bc5ed95f05db1469d90888e4066ecd2d16 (patch)
tree9d163d09a1c9f9b45b880c59a36dfcb2b0db6544
parentRemove erroneous warnings -- we do not reject offers just because the (diff)
downloadwireguard-openbsd-1d3ff1bc5ed95f05db1469d90888e4066ecd2d16.tar.xz
wireguard-openbsd-1d3ff1bc5ed95f05db1469d90888e4066ecd2d16.zip
old option -P bites the dust. It's not been doing anything for years.
It used to control pipes for parallel output, but the new model means pipes are no longer used at all. Its mere presence confuses some people. tested thru a few builds and bulk to not impact anything.
-rw-r--r--usr.bin/make/main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 44b7b697406..4ac8a32fa55 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.100 2012/10/18 17:54:43 espie Exp $ */
+/* $OpenBSD: main.c,v 1.101 2013/07/07 09:41:08 espie Exp $ */
/* $NetBSD: main.c,v 1.34 1997/03/24 20:56:36 gwr Exp $ */
/*
@@ -144,8 +144,6 @@ posixParseOptLetter(int c)
case 'B':
compatMake = true;
return; /* XXX don't pass to submakes. */
- case 'P':
- break; /* old option */
case 'S':
keepgoing = false;
break;
@@ -200,8 +198,8 @@ MainParseArgs(int argc, char **argv)
{
int c, optend;
-#define OPTFLAGS "BD:I:PSV:d:ef:ij:km:npqrst"
-#define OPTLETTERS "BPSiknpqrst"
+#define OPTFLAGS "BD:I:SV:d:ef:ij:km:npqrst"
+#define OPTLETTERS "BSiknpqrst"
optind = 1; /* since we're called more than once */
optreset = 1;