bugGNU roff - Bugs: bug #55732, [PATCH] contrib/hdtbl/hdtbl.tmac:...

 
 

bug #55732: [PATCH] contrib/hdtbl/hdtbl.tmac: Avoid a warning about undefined macros

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Sun 17 Feb 2019 11:53:35 PM UTC
   
 
Category:  Macro - others/general Severity:  3 - Normal
Item Group:  Warning/Suspicious behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 23 Jul 2023 04:30:40 AM UTC, comment #1: 

Patch displays incorrectly because, not being in a "verbatim" block, some asterisks were interpreted as markup.  Reposting.

Also updating filename being patched, which was changed in commit f2f52b9a.  With this modification, it applies cleanly to the current code.  Whether it's a good idea, I cannot say.


diff --git a/contrib/hdtbl/hdtbl.tmac b/contrib/hdtbl/hdtbl.tmac
index b57edb89..6b17c19f 100644
--- a/contrib/hdtbl/hdtbl.tmac
+++ b/contrib/hdtbl/hdtbl.tmac
@@ -80,6 +80,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .nr t*numb 0 1        \"        held table diversion #
 .
 .ds *#trc*
+.ds t*held
+.ds t*kept
 .
 .
 .\"        *****************************************************************


Dave <barx>
Group Member
Sun 17 Feb 2019 11:53:35 PM UTC, original submission:  

From 92c4114308bbe55420f0f95f96b232cb38445506 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Sun, 17 Feb 2019 23:44:39 +0000
Subject: [PATCH] contrib/hdtbl/hdtbl.tmac-u: Avoid a warning about undefined
 macros

  Initialize the string variables "t*held" and "t*kept" to empty before
they are tested with: !""\\*[t*...]" .

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 contrib/hdtbl/hdtbl.tmac-u | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/hdtbl/hdtbl.tmac-u b/contrib/hdtbl/hdtbl.tmac-u
index b57edb89..6b17c19f 100644
--- a/contrib/hdtbl/hdtbl.tmac-u
+++ b/contrib/hdtbl/hdtbl.tmac-u
@@ -80,6 +80,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .nr t*numb 0 1 \" held table diversion #
 .
 .ds #trc
+.ds t*held
+.ds t*kept
 .
 .
 .\" ***************************************************************
--
2.20.1


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by barx (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-07-23 barx Summary[PATCH] contrib/hdtbl/hdtbl.tmac-u: Avoid a warning about undefined macros [PATCH] contrib/hdtbl/hdtbl.tmac: Avoid a warning about undefined macros

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code