Update of bug #68782 (group groff):
Status: In Progress => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #2:
commit 0ae673870c555055eaba7c1ecedaca30ff638acd
Author: G. Branden Robinson <[email protected]>
Date: Fri Oct 16 10:35:59 2026 -0500
[mm]: Fix Savannah #68782.
* contrib/mm/mmroff.pl: Decode wait status on pipeline failure, to
better inform the user lacking intimate knowledge of the Unix process
spawning and reaping model. Copy the "abort/autopsy" technique from
groff's "pdfmom.pl".
Fixes <https://savannah.gnu.org/bugs/?68782>. Thanks to Bruno Haible,
John Gardner, Ingo Schwarze, and the mononymous Mike for discussion on
the groff mailing list.
Before:
$ printf '.P\nThis is my\n.I mmroff\ndocument.\n' | ./build/mmroff \
&& echo exit status zero
exit status zero
$ printf '.P\nThis is my\n.I mmroff\ndocument.\n.ab\n' | ./build/mmroff
mmroff: fatal error: "groff -rRef=1 -z -mm " exited with status 1024
Now:
$ printf '.P\nThis is my\n.I mmroff\ndocument.\n' | ./build/mmroff \
&& echo exit status zero
$ printf '.P\nThis is my\n.I mmroff\ndocument.\n.ab\n' | ./build/mmroff
mmroff: fatal error: groff exited with status 4
ANNOUNCE: Acknowledge Mike.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68782>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
