diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-07 01:58:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-03-07 01:58:20 +0000 |
commit | 3f73c7c1d25ea42f8c289a827a52eb5ee5c02448 (patch) | |
tree | 147767a61c9d77e2fa5c04f645f60520f8af6791 /usr.bin/mandoc/term_ps.c | |
parent | e309b62a5156d70d03157abded5836eccaa56b7a (diff) |
Do not leak information about the software used
into PostScript and PDF documents behind the user's back.
Joerg Sonnenberger pointed out that almost all software
creating PostScript and PDF documents does so, even on OpenBSD,
but that doesn't make the leakage much better in my book.
According to all standards i could find, this information is optional.
Issue originally reported by deraadt@; "commit!" kristaps@.
Diffstat (limited to 'usr.bin/mandoc/term_ps.c')
-rw-r--r-- | usr.bin/mandoc/term_ps.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/mandoc/term_ps.c b/usr.bin/mandoc/term_ps.c index 3bde9c25d17..db62c52fb3d 100644 --- a/usr.bin/mandoc/term_ps.c +++ b/usr.bin/mandoc/term_ps.c @@ -1,4 +1,4 @@ -/* $Id: term_ps.c,v 1.14 2011/01/31 02:36:55 schwarze Exp $ */ +/* $Id: term_ps.c,v 1.15 2011/03/07 01:58:19 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -788,7 +788,6 @@ ps_begin(struct termp *p) if (TERMTYPE_PS == p->type) { ps_printf(p, "%%!PS-Adobe-3.0\n"); - ps_printf(p, "%%%%Creator: mandoc-%s\n", VERSION); ps_printf(p, "%%%%CreationDate: %s", ctime(&t)); ps_printf(p, "%%%%DocumentData: Clean7Bit\n"); ps_printf(p, "%%%%Orientation: Portrait\n"); @@ -808,7 +807,6 @@ ps_begin(struct termp *p) ps_printf(p, "%%PDF-1.1\n"); pdf_obj(p, 1); ps_printf(p, "<<\n"); - ps_printf(p, "/Creator mandoc-%s\n", VERSION); ps_printf(p, ">>\n"); ps_printf(p, "endobj\n"); |