From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s7S1bC2j021571 for ; Wed, 27 Aug 2014 21:37:12 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s7S1bCSF019530; Wed, 27 Aug 2014 21:37:12 -0400 (EDT) Date: Wed, 27 Aug 2014 21:37:12 -0400 (EDT) Message-Id: <201408280137.s7S1bCSF019530@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: I just noticed that -Tps writes "%%CreationDate:" headers. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- I just noticed that -Tps writes "%%CreationDate:" headers. That's an unwelcome leak of potentially private information. Kill it with fire. Modified Files: -------------- mdocml: term_ps.c Revision Data ------------- Index: term_ps.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/term_ps.c,v retrieving revision 1.65 retrieving revision 1.66 diff -Lterm_ps.c -Lterm_ps.c -u -p -r1.65 -r1.66 --- term_ps.c +++ term_ps.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include "mandoc.h" @@ -852,7 +851,6 @@ ps_end(struct termp *p) static void ps_begin(struct termp *p) { - time_t t; int i; /* @@ -893,11 +891,8 @@ ps_begin(struct termp *p) * stuff gets printed to the screen, so make sure we're sane. */ - t = time(NULL); - if (TERMTYPE_PS == p->type) { ps_printf(p, "%%!PS-Adobe-3.0\n"); - ps_printf(p, "%%%%CreationDate: %s", ctime(&t)); ps_printf(p, "%%%%DocumentData: Clean7Bit\n"); ps_printf(p, "%%%%Orientation: Portrait\n"); ps_printf(p, "%%%%Pages: (atend)\n"); -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv