[tlbuild] dvips rebuild please
Karl Berry
karl at freefriends.org
Tue Apr 30 03:39:01 CEST 2019
Hello one more time TL builders,
I just committed (r50901) a fix (I hope; below) for the bug that Arnaud
reported with invoking dvips on long file names.
https://tug.org/pipermail/tex-k/2019-April/003011.html
If anyone sees problems with it, let me know.
Akira, I did not separate out the ) into its own cmdout call because
then there is a newline before the ) in the output file.
I think this is worth pushing out, so please rebuild. Nothing else has
changed, so dvips should be the only new binary. --thanks, karl.
--- dosection.c (revision 50899)
+++ dosection.c (working copy)
@@ -23,7 +23,7 @@
int np;
int k;
integer thispage = 0;
- char buf[104];
+ char buf[300]; /* really 253 */
dopsfont(s);
#ifdef HPS
@@ -40,7 +40,9 @@
doubleout(mag);
numout((integer)DPI);
numout((integer)VDPI);
- snprintf(buf, sizeof(buf), "(%.500s)", fulliname);
+ /* possibly lines in eps files are supposed to be <= 255;
+ not worth testing the limits merely to output a long file name. */
+ snprintf(buf, sizeof(buf), "(%.250s)", fulliname);
cmdout(buf);
newline();
cmdout("@start");
More information about the tlbuild
mailing list