From ae5f77f4afb4eacc8500ded5455086d6242ae946 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 27 Nov 2014 16:20:31 +0000 Subject: Fix the obsolete .Db (toggle debug mode) macro to ignore its arguments and not trigger an assertion when there is more than one argument; the latter found by jsg@ with afl. --- mdoc.7 | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'mdoc.7') diff --git a/mdoc.7 b/mdoc.7 index 9f3ca835..e69bb9f7 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.241 2014/11/16 20:46:21 schwarze Exp $ +.\" $Id: mdoc.7,v 1.242 2014/11/27 16:20:31 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 16 2014 $ +.Dd $Mdocdate: November 27 2014 $ .Dt MDOC 7 .Os .Sh NAME @@ -1185,13 +1185,12 @@ See also and .Sx \&Dl . .Ss \&Db -Switch debugging mode. -Its syntax is as follows: -.Pp -.D1 Pf \. Sx \&Db Cm on | off -.Pp -This macro is ignored by -.Xr mandoc 1 . +This macro is obsolete. +No replacement is needed. +It is ignored by +.Xr mandoc 1 +and groff including its arguments. +It was formerly used to toggle a debugging mode. .Ss \&Dc Close a .Sx \&Do -- cgit v1.2.3-56-ge451