From 25152678ffdb7653b13569fefe86cb617d1e0532 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 27 Apr 2022 17:11:24 +0000 Subject: The .AT, .DT, and .UC macros are allowed inside next-line scope and never produce output at the place of their invocation. Minibugs found while investigating unrelated afl(1) reports from tb@. --- man_term.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index d289f2d1..1cef252e 100644 --- a/man_term.c +++ b/man_term.c @@ -1,6 +1,6 @@ -/* $Id: man_term.c,v 1.236 2021/06/28 19:50:15 schwarze Exp $ */ +/* $Id: man_term.c,v 1.237 2022/04/27 17:11:24 schwarze Exp $ */ /* - * Copyright (c) 2010-2015, 2017-2020 Ingo Schwarze + * Copyright (c) 2010-2015,2017-2020,2022 Ingo Schwarze * Copyright (c) 2008-2012 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any @@ -121,10 +121,10 @@ static const struct man_term_act man_term_acts[MAN_MAX - MAN_TH] = { { pre_alternate, NULL, 0 }, /* RI */ { NULL, NULL, 0 }, /* RE */ { pre_RS, post_RS, 0 }, /* RS */ - { pre_DT, NULL, 0 }, /* DT */ + { pre_DT, NULL, MAN_NOTEXT }, /* DT */ { pre_ign, NULL, MAN_NOTEXT }, /* UC */ { pre_PD, NULL, MAN_NOTEXT }, /* PD */ - { pre_ign, NULL, 0 }, /* AT */ + { pre_ign, NULL, MAN_NOTEXT }, /* AT */ { pre_in, NULL, MAN_NOTEXT }, /* in */ { pre_SY, post_SY, 0 }, /* SY */ { NULL, NULL, 0 }, /* YS */ -- cgit v1.2.3-56-ge451