summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-07 00:21:24 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-09-07 00:21:24 +0000
commitb427c6de0c26f9a9bb5ca9b0eb9f37750b237c1e (patch)
tree123093887f07b5fba1c7b733dc90f5e2b8219492 /usr.bin
parentd84dfd0f3f627fae37aa64d023492b885dee2eb5 (diff)
Parse and ignore the .pl (page length) request;
Daniel Levai reports that Slackware Linux uses this.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/roff.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c
index 84ce3a0ee89..72da009aafd 100644
--- a/usr.bin/mandoc/roff.c
+++ b/usr.bin/mandoc/roff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: roff.c,v 1.100 2014/09/06 23:24:27 schwarze Exp $ */
+/* $OpenBSD: roff.c,v 1.101 2014/09/07 00:21:23 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -58,6 +58,7 @@ enum rofft {
ROFF_nh,
ROFF_nr,
ROFF_ns,
+ ROFF_pl,
ROFF_ps,
ROFF_rm,
ROFF_rr,
@@ -254,6 +255,7 @@ static struct roffmac roffs[ROFF_MAX] = {
{ "nh", roff_line_ignore, NULL, NULL, 0, NULL },
{ "nr", roff_nr, NULL, NULL, 0, NULL },
{ "ns", roff_line_ignore, NULL, NULL, 0, NULL },
+ { "pl", roff_line_ignore, NULL, NULL, 0, NULL },
{ "ps", roff_line_ignore, NULL, NULL, 0, NULL },
{ "rm", roff_rm, NULL, NULL, 0, NULL },
{ "rr", roff_rr, NULL, NULL, 0, NULL },