diff options
author | 2011-11-06 12:25:43 +0000 | |
---|---|---|
committer | 2011-11-06 12:25:43 +0000 | |
commit | 2086d4ed39ece304898096b2f0e2fe2026db6f1a (patch) | |
tree | 44e61c24a4a9ad1c6f118583fa52a0935621a9ba | |
parent | Copy support for sched_get_priority_{min,max} from libpthread. (diff) | |
download | wireguard-openbsd-2086d4ed39ece304898096b2f0e2fe2026db6f1a.tar.xz wireguard-openbsd-2086d4ed39ece304898096b2f0e2fe2026db6f1a.zip |
improve gm4 compatibility, from Robert Young, thanks !
note that patsubst is non-standard.
okay miod@, deraadt@
-rw-r--r-- | usr.bin/m4/gnum4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/m4/gnum4.c b/usr.bin/m4/gnum4.c index 5f6568af033..4c8010cbcbc 100644 --- a/usr.bin/m4/gnum4.c +++ b/usr.bin/m4/gnum4.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gnum4.c,v 1.41 2010/09/07 19:58:09 marco Exp $ */ +/* $OpenBSD: gnum4.c,v 1.42 2011/11/06 12:25:43 espie Exp $ */ /* * Copyright (c) 1999 Marc Espie @@ -497,7 +497,7 @@ doregexp(const char *argv[], int argc) pbstr(argv[4]); } error = regcomp(&re, mimic_gnu ? twiddle(argv[3]) : argv[3], - REG_EXTENDED); + REG_EXTENDED|REG_NEWLINE); if (error != 0) exit_regerror(error, &re); |