Further pstops corruption due to lack of linelen assignment #1523
[Replicated against 1.2rc1, which does not appear in the version pulldown]
Output from dvips and probably other software is corrupted by the pstops filter. (I have only seen additional garbage added immediately after %%BeginSetup:, but other corruption should be possible.)
The cause is a failure to propagate linelen up to copy_dsc() after copying the prolog; the setup section also lacks the same. So the first line in the setup section is assumed to be as long as the first line in the prolog, and... mess results.
The text was updated successfully, but these errors were encountered:
--- filter/pstops.c (revision 5343)
fprintf(stderr, "DEBUG: Before copy_prolog - %s", line);
fprintf(stderr, "DEBUG: Before copy_setup - %s", line);