]> git.cameronkatri.com Git - mandoc.git/blobdiff - term_ps.c
Improve -Tascii output for Unicode escape sequences: For the first 512
[mandoc.git] / term_ps.c
index e9c23e72a955a36ff75248cb06a3db6207437303..e18030383dbf96b40d07d62ee740dbd1ae74a03f 100644 (file)
--- 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 <kristaps@bsd.lv>
  * Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -25,7 +25,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <time.h>
 #include <unistd.h>
 
 #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");