From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=PDS_BRAND_SUBJ_NAKED_TO, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 11095 invoked from network); 22 Oct 2023 16:57:55 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 22 Oct 2023 16:57:55 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id fb955e29 for ; Sun, 22 Oct 2023 16:57:54 +0000 (UTC) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 9506aac9 for ; Sun, 22 Oct 2023 16:57:54 +0000 (UTC) Date: Sun, 22 Oct 2023 16:57:54 +0000 (UTC) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: new regression test for roff.c rev. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <94816e38a018e19a@mandoc.bsd.lv> Log Message: ----------- new regression test for roff.c rev. 1.270: infinite recursion in macro argument expansion Modified Files: -------------- mandoc/regress/roff/args: Makefile Added Files: ----------- mandoc/regress/roff/args: infrec.in infrec.out_ascii infrec.out_lint Revision Data ------------- --- /dev/null +++ regress/roff/args/infrec.out_lint @@ -0,0 +1 @@ +mandoc: infrec.in:9:1: ERROR: input stack limit exceeded, infinite loop? Index: Makefile =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/roff/args/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -Lregress/roff/args/Makefile -Lregress/roff/args/Makefile -u -p -r1.2 -r1.3 --- regress/roff/args/Makefile +++ regress/roff/args/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.5 2023/10/21 17:28:01 schwarze Exp $ +# $OpenBSD: Makefile,v 1.6 2023/10/22 16:54:19 schwarze Exp $ -REGRESS_TARGETS = roff man mdoc esc -LINT_TARGETS = roff man mdoc +REGRESS_TARGETS = roff man mdoc esc infrec +LINT_TARGETS = roff man mdoc infrec +SKIP_GROFF = infrec .include --- /dev/null +++ regress/roff/args/infrec.out_ascii @@ -0,0 +1,9 @@ +ARGS-INFREC(1) General Commands Manual ARGS-INFREC(1) + +NNAAMMEE + args-infrec - infinite recursion in macro argument expansion + +DDEESSCCRRIIPPTTIIOONN + initial text prefixpostfix final text + +OpenBSD October 22, 2023 ARGS-INFREC(1) --- /dev/null +++ regress/roff/args/infrec.in @@ -0,0 +1,10 @@ +.\" $OpenBSD: infrec.in,v 1.1 2023/10/22 16:54:19 schwarze Exp $ +.TH ARGS-INFREC 1 "October 22, 2023" +.SH NAME +args-infrec - infinite recursion in macro argument expansion +.SH DESCRIPTION +.ds mys first word +.ds mys \\*[mys] another word +initial text +.RB prefix \\*[mys] postfix +final text -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv