Update of bug #68733 (group groff):
Summary: [mm] `mmroff` doesn't propagate `groff` error exit
status => [PATCH] [mm] `mmroff` doesn't propagate `groff` error exit status
_______________________________________________________
Follow-up Comment #3:
diff --git a/contrib/mm/mmroff.pl b/contrib/mm/mmroff.pl
index 9356eeabf..93f253c1d 100644
--- a/contrib/mm/mmroff.pl
+++ b/contrib/mm/mmroff.pl
@@ -138,8 +138,9 @@ while(<MACRO>) {
s#\\ \\ $##;
push(@out, $_);
}
-close(MACRO);
-
+close(MACRO)
+ or Die($! ? "error closing pipeline \"$first_pass\": $!"
+ : "\"$first_pass\" exited with status $?");
# TODO: We should write out references only if there are any; a document
# that uses only `PIC` might lack them.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68733>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
