summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/main.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2010-03-22 20:40:43 +0000
committerespie <espie@openbsd.org>2010-03-22 20:40:43 +0000
commitddcc7fd65441883f53f400fc8f6d00987df68785 (patch)
treee2a7b8e8dcfc27af8813a8b0d10d1978f7f0ad90 /usr.bin/m4/main.c
parentclean up the ProgressMeter code, create a specific class if a Term (diff)
downloadwireguard-openbsd-ddcc7fd65441883f53f400fc8f6d00987df68785.tar.xz
wireguard-openbsd-ddcc7fd65441883f53f400fc8f6d00987df68785.zip
add more gnum4 support: regexps do weird things with empty patterns (this
is required for newer autoconf). fix the tokenizer for gnu extensions, allowing digits out of range is ridiculous. add POSIX2008 mkstemp and document it (also documenting that mktemp is safe, not posix...) tidy the manpage, do extra .Nm m4 -> .Nm. okay otto@, miod@, jmc@
Diffstat (limited to 'usr.bin/m4/main.c')
-rw-r--r--usr.bin/m4/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index 8b4017d8d68..b841f47fad4 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.77 2009/10/14 17:19:47 sthen Exp $ */
+/* $OpenBSD: main.c,v 1.78 2010/03/22 20:40:44 espie Exp $ */
/* $NetBSD: main.c,v 1.12 1997/02/08 23:54:49 cgd Exp $ */
/*-
@@ -123,6 +123,7 @@ struct keyblk keywrds[] = { /* m4 keywords to be installed */
{ "undivert", UNDVTYPE | NOARGS },
{ "divnum", DIVNTYPE | NOARGS },
{ "maketemp", MKTMTYPE },
+ { "mkstemp", MKTMTYPE },
{ "errprint", ERRPTYPE | NOARGS },
{ "m4wrap", M4WRTYPE | NOARGS },
{ "m4exit", EXITTYPE | NOARGS },