diff --git a/contrib/pdfmark/pdfroff.sh b/contrib/pdfmark/pdfroff.sh index 4179918c..00b7fec8 100644 --- a/contrib/pdfmark/pdfroff.sh +++ b/contrib/pdfmark/pdfroff.sh @@ -531,7 +531,14 @@ # filtering them into the reference dictionary; discard incomplete 'groff' output # at this stage. # + echo >/dev/tty $STREAM $GROFF_STYLE -Z 1\>$NULLDEV 2\>$WRKFILE $REFCOPY $INPUT_FILES eval $STREAM $GROFF_STYLE -Z 1>$NULLDEV 2>$WRKFILE $REFCOPY $INPUT_FILES + STATUS=$? + if test $STATUS -ne 0 + then + echo >/dev/tty PROBLEM: press CTRL+Z and inspect temporary files + sleep 600 + fi $AWK '/^gropdf-info:href/ {$1 = ".pdfhref D -N"; print}' $WRKFILE > $REFFILE done $SAY >&2 " done" diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp index c93d8bc6..6393af57 100644 --- a/src/roff/troff/node.cpp +++ b/src/roff/troff/node.cpp @@ -4090,9 +4090,11 @@ void suppress_node::tprint(troff_output_file *out) else { // Now check whether the suppress node requires us to issue limits. if (emit_limits) { - if ((0 == image_filename) || (strlen(image_filename) == 0)) + if ((0 == image_filename) || (strlen(image_filename) == 0)) { error("cannot emit suppresion node placement information" " without a (saved) filename; skipping"); + abort(); + } else { const size_t namebuflen = 8192; char name[namebuflen] = { '\0' };