texlive[51058] branches/branch2019/Build/source/texk/dvipsk: double

commits+karl at tug.org commits+karl at tug.org
Thu May 9 19:27:21 CEST 2019


Revision: 51058
          http://tug.org/svn/texlive?view=revision&revision=51058
Author:   karl
Date:     2019-05-09 19:27:21 +0200 (Thu, 09 May 2019)
Log Message:
-----------
double release to branch2019: dvips long-input-filename patch (r50901)

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=50901

Modified Paths:
--------------
    branches/branch2019/Build/source/texk/dvipsk/ChangeLog
    branches/branch2019/Build/source/texk/dvipsk/dosection.c

Modified: branches/branch2019/Build/source/texk/dvipsk/ChangeLog
===================================================================
--- branches/branch2019/Build/source/texk/dvipsk/ChangeLog	2019-05-09 15:31:04 UTC (rev 51057)
+++ branches/branch2019/Build/source/texk/dvipsk/ChangeLog	2019-05-09 17:27:21 UTC (rev 51058)
@@ -1,3 +1,9 @@
+2019-04-30  Karl Berry  <karl at tug.org>
+
+	* dosection.c (dosection): close PostScript string constant
+	for long filenames. tex-k mail from Arnaud Blouin,
+	24 Apr 2019 13:54:10.
+
 2019-04-07  Karl Berry  <karl at freefriends.org>
 
 	* TeX Live 2019.

Modified: branches/branch2019/Build/source/texk/dvipsk/dosection.c
===================================================================
--- branches/branch2019/Build/source/texk/dvipsk/dosection.c	2019-05-09 15:31:04 UTC (rev 51057)
+++ branches/branch2019/Build/source/texk/dvipsk/dosection.c	2019-05-09 17:27:21 UTC (rev 51058)
@@ -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 tex-live-commits mailing list