summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-05-17 20:33:27 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-05-17 20:33:27 +0000
commit1ce93483d7ed9c4d2403ff175628203e1e07454c (patch)
tree5593c51865df6270ffecf88b13c8bacd4fedd59b /usr.bin
parent4db26ac36a272c9fce4ea7a6a46d35d9695bd51f (diff)
gnu m4 mode does not heed end of lines.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/m4/gnum4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/m4/gnum4.c b/usr.bin/m4/gnum4.c
index 568df93bef7..e91f1fa5b20 100644
--- a/usr.bin/m4/gnum4.c
+++ b/usr.bin/m4/gnum4.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gnum4.c,v 1.28 2004/11/07 10:26:18 espie Exp $ */
+/* $OpenBSD: gnum4.c,v 1.29 2005/05/17 20:33:26 espie Exp $ */
/*
* Copyright (c) 1999 Marc Espie
@@ -459,7 +459,7 @@ dopatsubst(const char *argv[], int argc)
regmatch_t *pmatch;
error = regcomp(&re, mimic_gnu ? twiddle(argv[3]) : argv[3],
- REG_NEWLINE | REG_EXTENDED);
+ mimic_gnu ? REG_EXTENDED : REG_NEWLINE | REG_EXTENDED);
if (error != 0)
exit_regerror(error, &re);