bugGNU roff - Bugs: bug #55297, [PATCH] "groff -v -j"...

 
 

bug #55297: [PATCH] "groff -v -j" hangs

Submitter:  Eli Zaretskii <eliz>
Submitted:  Thu 27 Dec 2018 05:06:46 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  schwarze
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 05 Feb 2023 06:54:30 AM UTC, comment #2: 


commit d793cb747ee9ffbb6ff91f0f2082b30290eca44e
Author: Ingo Schwarze <schwarze@openbsd.org>
Date:   Wed Oct 14 00:44:42 2020 +0200

    In groff(1), fix the combination of -v with -k, -j, and -J.

    * src/roff/groff/groff.cpp: Pass the -v option through to the
    preconv, chem, and ideal preprocessors, just like for all
    other preprocessors, to print the version of the preprocessor
    and to avoid garbage output.

    Bugfix patch from Eli Zaretskii <eliz at gnu dot org>
    submitted in: https://savannah.gnu.org/bugs/?55297


G. Branden Robinson <gbranden>
Group administrator
Tue 13 Oct 2020 10:53:22 PM UTC, comment #1: 

The patch is clearly correct.
Thanks and sorry for letting it rot.
Finally committed in d793cb747ee9ffbb6ff91f0f2082b30290eca44e.

Ingo Schwarze <schwarze>
Group Member
Thu 27 Dec 2018 05:06:46 PM UTC, original submission:  

Invoking "groff -v" with an additional switch which should invoke a script, e.g. 'chem', causes Groff to hang after displaying some roff directives, instead of showing the banner of the script.

The reason is that groff.cpp doesn't add '-v' to the command lines of some of the preprocessors.

Patch for Groff 1.22.4 is attached.

Eli Zaretskii <eliz>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #45748:  groff-v.patch added by eliz (542B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by schwarze (Posted a comment)
  • -email is unavailable- added by eliz (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.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-13 schwarze StatusNone Fixed
        Assigned toNone schwarze
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2020-10-13 barx Carbon-CopyRemoved 93119 -
    2020-10-13 barx Summary&quot;groff -v -j&quot; hangs [PATCH] "groff -v -j" hangs
    2018-12-27 eliz Attached File- Added groff-v.patch, #45748

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code