[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792202: texlive-bin: Please make the CreationDate, ModDate and ID field deterministic



Hi,

attached are two additional patches which remove timestamps from
the output of dvips in the comments of Postscript documents.

Regards,
 Reiner
From: Reiner Herrmann <reiner@reiner-h.de>
Subject: Don't include "CreationDate:" in ps files generated by dvips

--- a/texk/dvipsk/dvips.h
+++ b/texk/dvipsk/dvips.h
@@ -7,7 +7,6 @@
 
 /*   This file is the header for dvips's global data structures. */
 
-#define CREATIONDATE
 
 #define MAX_CODE 0x110000
 #define MAX_2BYTES_CODE 0x10000
From: Reiner Herrmann <reiner@reiner-h.de>
Subject: Don't output the current date/time in the preamble
 It is embedded by other tools like dvips into documents.

--- a/texk/web2c/pdftexdir/pdftex.web
+++ b/texk/web2c/pdftexdir/pdftex.web
@@ -14434,10 +14434,7 @@
   dvi_four(25400000); dvi_four(473628672); {conversion ratio for sp}
   prepare_mag; dvi_four(mag); {magnification factor is frozen}
   old_setting:=selector; selector:=new_string;
-  print(" TeX output "); print_int(year); print_char(".");
-  print_two(month); print_char("."); print_two(day);
-  print_char(":"); print_two(time div 60);
-  print_two(time mod 60);
+  print(" TeX output ");
   selector:=old_setting; dvi_out(cur_length);
   for s:=str_start[str_ptr] to pool_ptr-1 do dvi_out(so(str_pool[s]));
   pool_ptr:=str_start[str_ptr]; {flush the current string}

Attachment: signature.asc
Description: PGP signature


Reply to: