1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 21_pdftex1.30.5.dpatch
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: update pdftex to 1.30.5, bugfixes
8
diff -dur ./build/TeX/texk/web2c/pdfetexdir/NEWS ./build/TeX/texk/web2c/pdfetexdir/NEWS
9
--- ./build/TeX/texk/web2c/pdfetexdir/NEWS Mon Oct 17 13:59:57 2005
10
+++ ./build/TeX/texk/web2c/pdfetexdir/NEWS Sun Dec 4 14:30:03 2005
12
-------------------------------------------------
13
+pdfTeX 3.141592-1.30.5 was released on 2005-12-04
14
+-------------------------------------------------
15
+- bugfix: \pdfximage prints the file name twice (bug 441)
16
+- bugfix: buffer overflow with \pdfmatch (bug 444)
17
+- bugfix: updated xpdf to 3.01pl1
19
+-------------------------------------------------
20
pdfTeX 3.141592-1.30.4 was released on 2005-10-17
21
-------------------------------------------------
22
- bugfix: whitespaces in filenames didn't work on Unix anymore (bug 377)
23
diff -dur ./build/TeX/texk/web2c/pdfetexdir/README ./build/TeX/texk/web2c/pdfetexdir/README
24
--- ./build/TeX/texk/web2c/pdfetexdir/README Mon Oct 17 13:54:35 2005
25
+++ ./build/TeX/texk/web2c/pdfetexdir/README Fri Dec 2 18:54:58 2005
30
-README for version 3.14159-1.30.4 of $Date: 2005/10/17 $
31
+README for version 3.14159-1.30.5 of $Date: 2005/08/23 $
32
========================================================
34
-This directory contains the version 1.30.4 of pdfTeX, an extended version of
35
+This directory contains the version 1.30.5 of pdfTeX, an extended version of
36
TeX that can create PDF directly from TeX source files and enhance the
37
result of TeX typesetting with the help of PDF. When PDF output is not
38
selected, pdfTeX produces normal DVI output, otherwise it produces PDF
39
diff -dur ./build/TeX/texk/web2c/pdftexdir/NEWS ./build/TeX/texk/web2c/pdftexdir/NEWS
40
--- ./build/TeX/texk/web2c/pdftexdir/NEWS Mon Oct 17 13:59:57 2005
41
+++ ./build/TeX/texk/web2c/pdftexdir/NEWS Sun Dec 4 14:30:03 2005
43
-------------------------------------------------
44
+pdfTeX 3.141592-1.30.5 was released on 2005-12-04
45
+-------------------------------------------------
46
+- bugfix: \pdfximage prints the file name twice (bug 441)
47
+- bugfix: buffer overflow with \pdfmatch (bug 444)
48
+- bugfix: updated xpdf to 3.01pl1
50
+-------------------------------------------------
51
pdfTeX 3.141592-1.30.4 was released on 2005-10-17
52
-------------------------------------------------
53
- bugfix: whitespaces in filenames didn't work on Unix anymore (bug 377)
54
diff -dur ./build/TeX/texk/web2c/pdftexdir/README ./build/TeX/texk/web2c/pdftexdir/README
55
--- ./build/TeX/texk/web2c/pdftexdir/README Mon Oct 17 13:54:35 2005
56
+++ ./build/TeX/texk/web2c/pdftexdir/README Fri Dec 2 18:54:58 2005
61
-README for version 3.14159-1.30.4 of $Date: 2005/10/17 $
62
+README for version 3.14159-1.30.5 of $Date: 2005/08/23 $
63
========================================================
65
-This directory contains the version 1.30.4 of pdfTeX, an extended version of
66
+This directory contains the version 1.30.5 of pdfTeX, an extended version of
67
TeX that can create PDF directly from TeX source files and enhance the
68
result of TeX typesetting with the help of PDF. When PDF output is not
69
selected, pdfTeX produces normal DVI output, otherwise it produces PDF
70
diff -dur ./build/TeX/texk/web2c/pdftexdir/pdftex.ch ./build/TeX/texk/web2c/pdftexdir/pdftex.ch
71
--- ./build/TeX/texk/web2c/pdftexdir/pdftex.ch Mon Oct 17 00:17:53 2005
72
+++ ./build/TeX/texk/web2c/pdftexdir/pdftex.ch Sun Dec 4 13:34:34 2005
74
@d banner=='This is TeX, Version 3.141592' {printed when \TeX\ starts}
76
@d pdftex_version==130 { \.{\\pdftexversion} }
77
-@d pdftex_revision=="4" { \.{\\pdftexrevision} }
78
-@d pdftex_version_string=='-1.30.4' {current \pdfTeX\ version}
79
+@d pdftex_revision=="5" { \.{\\pdftexrevision} }
80
+@d pdftex_version_string=='-1.30.5' {current \pdfTeX\ version}
82
@d pdfTeX_banner=='This is pdfTeX, Version 3.141592',pdftex_version_string
83
{printed when \pdfTeX\ starts}
84
Only in ./build/TeX/texk/web2c/pdftexdir: pdftosrc.1
85
diff -dur ./build/TeX/texk/web2c/pdftexdir/utils.c ./build/TeX/texk/web2c/pdftexdir/utils.c
86
--- ./build/TeX/texk/web2c/pdftexdir/utils.c Tue Oct 11 23:32:34 2005
87
+++ ./build/TeX/texk/web2c/pdftexdir/utils.c Sun Dec 4 14:12:55 2005
90
char *makecstring(integer s)
92
- static char cstrbuf[MAX_CSTRING_LEN];
94
- int i, l = strstart[s + 1] - strstart[s];
95
+ static char *cstrbuf = NULL;
97
+ static int allocsize;
98
+ int allocgrow, i, l = strstart[s + 1] - strstart[s];
99
check_buf(l + 1, MAX_CSTRING_LEN);
100
+ if (cstrbuf == NULL) {
102
+ cstrbuf = xmallocarray(char, allocsize);
103
+ } else if (l + 1 > allocsize) {
104
+ allocgrow = allocsize * 0.2;
105
+ if (l + 1 - allocgrow > allocsize)
107
+ else if (allocsize < MAX_CSTRING_LEN - allocgrow)
108
+ allocsize += allocgrow;
110
+ allocsize = MAX_CSTRING_LEN;
111
+ cstrbuf = xreallocarray(cstrbuf, char, allocsize);
114
for (i = 0; i < l; i++)
115
*p++ = strpool[i + strstart[s]];
117
@@ -1112,6 +1127,8 @@
118
input/ouput same as makecstring:
120
output: C string with quotes removed.
121
+ That means, file names that are legal on some operation systems
122
+ cannot any more be used since pdfTeX version 1.30.4.
124
char *makecfilename(strnumber s) {
125
char *name = makecstring(s);
126
@@ -1124,6 +1141,5 @@
130
- fprintf(stderr, " %s\n", name);