bugGNU troff - Bugs: bug #55732, [PATCH]...


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

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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

  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
 .\" *****************************************************************

Bjarni Ingi Gislason <bjarniig>


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

Attach Files:

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 bjarniig (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5