From 9e399dab99306e66a40f88f8b721c69c86b1247d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 28 Aug 2014 01:37:12 +0000 Subject: I just noticed that -Tps writes "%%CreationDate:" headers. That's an unwelcome leak of potentially private information. Kill it with fire. --- term_ps.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/term_ps.c b/term_ps.c index e9c23e72..e1803038 100644 --- a/term_ps.c +++ b/term_ps.c @@ -1,4 +1,4 @@ -/* $Id: term_ps.c,v 1.65 2014/08/24 23:43:13 schwarze Exp $ */ +/* $Id: term_ps.c,v 1.66 2014/08/28 01:37:12 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -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"); -- cgit v1.2.3-56-ge451