bugGNU roff - Bugs: bug #61068, groff behaves uselessly if...

 
 

bug #61068: groff behaves uselessly if $GROFF_TYPESETTER is null

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Sat 21 Aug 2021 03:57:31 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Warning/Suspicious behaviour Status:  Fixed
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 23 Aug 2021 04:27:23 AM UTC, comment #1: 


commit f6abf63afc31c47ab0565543faf109360175ba70
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat Aug 21 13:16:39 2021 +1000

    [libgroff]: Treat empty GROFF_TYPESETTER as unset.

    * src/libs/libgroff/device.cpp (device_init::device_init): Test both
      returned pointer from `getenv()` and, if that's not null, the first
      character of the string for nullity before assigning it to `device`.

    Fixes <https://savannah.gnu.org/bugs/?61068>.


G. Branden Robinson <gbranden>
Group administrator
Sat 21 Aug 2021 03:57:31 AM UTC, original submission:  

groff should treat a null $GROFF_TYPESETTER the same as an unset one.

groff 1.22.4 behavior shown below.


$ GROFF_TYPESETTER= groff
groff: can't find 'DESC' file
groff: fatal error: invalid device ''


G. Branden Robinson <gbranden>
Group administrator

 

(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 gbranden (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-08-23 gbranden StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code