[tlbuild] dvips bug (and patch)

Alphonse Steiner alphsteiner at gmail.com
Fri Nov 12 18:13:30 CET 2010


Dear all,

I have found a bug (not critical at all) in dvips : the header of the
postcript file produced contains the input name instead of the output name.
Below the patch to fix it.

========================================================================
diff -uNr TeXLive-trunk/texk/dvipsk/output.c
TeXLive-trunk.al/texk/dvipsk/output.c
--- TeXLive-trunk/texk/dvipsk/output.c  2010-10-23 01:12:08.000000000 +0200
+++ TeXLive-trunk.al/texk/dvipsk/output.c       2010-11-12
17:48:56.430299994 +0100
@@ -1366,7 +1366,7 @@
          error("We tried, but couldn't make it EPSF.");
       fprintf(bitfile, "%%%%Creator: %s\n", banner + 8);
       if (*iname)
-         fprintf(bitfile, "%%%%Title: %s\n", iname);
+         fprintf(bitfile, "%%%%Title: %s\n", oname);
 #ifdef CREATIONDATE
       jobtime=time(0);
       fprintf(bitfile, "%%%%CreationDate: %s",
========================================================================

Cheers,
Al.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20101112/eb7e8add/attachment.html>


More information about the tlbuild mailing list