bugGNU roff - Bugs: bug #66798, [man] commit f3944d63 regressed...

 
 

bug #66798: [man] commit f3944d63 regressed argumentless `SH` handling

Submitter:  Deri James <deri>
Submitted:  Sat 15 Feb 2025 12:16:16 AM UTC
   
 
Category:  Macro package man Severity:  2 - Minor
Item Group:  Incorrect behaviour Status:  Duplicate
Privacy:  Public Assigned to:  deri
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 16 Feb 2025 01:12:40 AM UTC, comment #3: 

Trying again with "Status" and "Assigned to" updates.

I forgot that when you preview changes to a ticket, Savannah punishes you by reverting alterations to at least some fields that aren't the "Comment".

G. Branden Robinson <gbranden>
Group administrator
Sun 16 Feb 2025 12:27:11 AM UTC, comment #2: 

As Deri noted in comment #1, this was a duplicate.  He found it; marking it thus and crediting him with the "kill".  Dropping patch annotation; retitling.

original submission:

> This was discovered helping Alex produce a man page collection of Unix V10 man pages. It did make me laugh that the "latex" man page is consigned to Section 6 (Games).


The dupe was worth it to learn this.  😁

G. Branden Robinson <gbranden>
Group administrator
Sat 15 Feb 2025 12:24:07 AM UTC, comment #1: 

Just saw Branden has already fixed this in bug #66640, should ha done a 'git pull' duh.

Deri James <deri>
Group Member
Sat 15 Feb 2025 12:16:16 AM UTC, original submission:  

The regression caused groff to terminate prematurely without any warnings/messages, if the man page contained a useless ".SH" with no following text. When processing a man page collection, such as our groff_man_pages.pdf, if one man page has this bare .SH, the whole run is terminated at that point. The problem is caused by the errant removal of a "\}".

Attached are a micky mouse man page which shows the issue and a patch which fixes it.

This was discovered helping Alex produce a man page collection of Unix V10 man pages. It did make me laugh that the "latex" man page is consigned to Section 6 (Games).

Deri James <deri>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #56896:  SHtest.1 added by deri (233B - application/x-troff-man)
file #56897:  SHtest.patch added by deri (398B - text/x-patch)

 

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 deri (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-02-16 gbranden StatusFixed Duplicate
        Assigned togbranden deri
    2025-02-16 gbranden Summary[patch] commit f3944d63 introduced regression [man] commit f3944d63 regressed argumentless `SH` handling
    2025-02-15 deri StatusNeed Info Fixed
        Assigned toNone gbranden
        Open/ClosedOpen Closed
    2025-02-15 deri Attached File- Added SHtest.1, #56896
        Attached File- Added SHtest.patch, #56897

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code