summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-17 09:14:25 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-17 09:14:25 +0000
commit7f8bb118636cfad97feb21a581b997cfa6f84aab (patch)
tree49a682c650e70687f979fb6d3e6daef9e50fbe73 /Build
parent3a2cf64e9e35dbfcd651f39733806924b63d0413 (diff)
pdftex: Always write "\n" after "obj" and before "endobj"
git-svn-id: svn://tug.org/texlive/trunk@32428 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/pdftexdir/pdftex.web8
2 files changed, 10 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index 1897371a0d2..1fef160b267 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-17 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * pdftex.web: Always write "\n" after "obj" and before "endobj".
+ Suggested by Vincent Immler (http://sarovar.org/tracker/#4341).
+
2013-12-04 Peter Breitenlohner <peb@mppmu.mpg.de>
Update to e-TeX Version 2.6 [2013-11-21].
diff --git a/Build/source/texk/web2c/pdftexdir/pdftex.web b/Build/source/texk/web2c/pdftexdir/pdftex.web
index c6f652f8bb3..a95d05664ed 100644
--- a/Build/source/texk/web2c/pdftexdir/pdftex.web
+++ b/Build/source/texk/web2c/pdftexdir/pdftex.web
@@ -16607,7 +16607,7 @@ begin
pdf_os_prepare_obj(i, pdf_os_level);
if not pdf_os_mode then begin
pdf_print_int(i);
- pdf_print(" 0 obj ");
+ pdf_print_ln(" 0 obj");
end else if pdf_compress_level = 0 then begin
pdf_print("% "); {debugging help}
pdf_print_int(i);
@@ -16628,8 +16628,10 @@ begin
pdf_print_ln(">>");
if pdf_os_objidx = pdf_os_max_objs - 1 then
pdf_os_write_objstream;
- end else
- pdf_print_ln(">> endobj");
+ end else begin
+ pdf_print_ln(">>");
+ pdf_print_ln("endobj");
+ end;
end;
@ Write out an accumulated object stream.