diff options
author | 2011-07-11 20:43:21 +0000 | |
---|---|---|
committer | 2011-07-11 20:43:21 +0000 | |
commit | 1b60208b89e2b3dc834c7ef9f25972ea5ebf4057 (patch) | |
tree | 9c06a2b7d2573f34a875882768a9868dfca324fc | |
parent | how annoying. soembody added a regress test that would have caught my (diff) | |
download | wireguard-openbsd-1b60208b89e2b3dc834c7ef9f25972ea5ebf4057.tar.xz wireguard-openbsd-1b60208b89e2b3dc834c7ef9f25972ea5ebf4057.zip |
the matchall magic shortcut requires we set c=1 to print now
fixes libpqxx build
-rw-r--r-- | usr.bin/grep/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/grep/util.c b/usr.bin/grep/util.c index 6754cfc02ed..6e5e28983c0 100644 --- a/usr.bin/grep/util.c +++ b/usr.bin/grep/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.40 2011/07/08 01:20:24 tedu Exp $ */ +/* $OpenBSD: util.c,v 1.41 2011/07/11 20:43:21 tedu Exp $ */ /*- * Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav @@ -174,6 +174,7 @@ procline(str_t *l, int nottext) c = 0; i = 0; if (matchall) { + c = 1; goto print; } |