1 |
aballier 11/11/02 19:42:06 |
2 |
|
3 |
Added: 010_all_synctex_coord.patch |
4 |
020_all_offbyone_enctex_xetex.patch |
5 |
030_all_line_number_fix.patch |
6 |
040_all_buffer_overrun.patch |
7 |
050_all_memory_corruption.patch 060_all_eptex.patch |
8 |
070_all_luatex_array.patch 080_all_ttf2pk.patch |
9 |
Log: |
10 |
add (quickly) processed and untested patches, will fix those that may fail later |
11 |
|
12 |
Revision Changes Path |
13 |
1.1 src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/010_all_synctex_coord.patch |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/010_all_synctex_coord.patch?rev=1.1&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/010_all_synctex_coord.patch?rev=1.1&content-type=text/plain |
17 |
|
18 |
Index: 010_all_synctex_coord.patch |
19 |
=================================================================== |
20 |
r23716 | karl | 2011-08-26 20:29:30 -0300 (Fri, 26 Aug 2011) | 1 line |
21 |
|
22 |
branch2011: import synctex coordinate fix from trunk r23644 |
23 |
Index: Build/source/texk/web2c/synctexdir/synctex-luatex.h |
24 |
=================================================================== |
25 |
--- Build/source/texk/web2c/synctexdir/synctex-luatex.h (revision 23715) |
26 |
+++ Build/source/texk/web2c/synctexdir/synctex-luatex.h (revision 23716) |
27 |
@@ -50,9 +50,12 @@ |
28 |
#define SYNCTEX_HEIGHT(NODE) height(NODE) |
29 |
#define SYNCTEX_VALUE int_par(synctex_code) |
30 |
|
31 |
-#define SYNCTEX_CURV (dimen_par(page_height_code)-static_pdf->posstruct->pos.v) |
32 |
-#define SYNCTEX_CURH static_pdf->posstruct->pos.h |
33 |
+#define SYNCTEX_CURVV (dimen_par(page_height_code)-static_pdf->posstruct->pos.v) |
34 |
+#define SYNCTEX_CURHH static_pdf->posstruct->pos.h |
35 |
|
36 |
+#define SYNCTEX_CURV (static_pdf->o_mode==OMODE_PDF?SYNCTEX_CURVV:SYNCTEX_CURVV-4736287) |
37 |
+#define SYNCTEX_CURH (static_pdf->o_mode==OMODE_PDF?SYNCTEX_CURHH:SYNCTEX_CURHH-4736287) |
38 |
+ |
39 |
#define SYNCTEX_GET_JOB_NAME() makecstring(job_name) |
40 |
#define SYNCTEX_GET_LOG_NAME() get_full_log_name() |
41 |
|
42 |
Index: Build/source/texk/web2c/synctexdir/synctex-xetex.h |
43 |
=================================================================== |
44 |
--- Build/source/texk/web2c/synctexdir/synctex-xetex.h (revision 23715) |
45 |
+++ Build/source/texk/web2c/synctexdir/synctex-xetex.h (revision 23716) |
46 |
@@ -57,6 +57,9 @@ |
47 |
# define SYNCTEX_OFFSET_IS_PDF (nopdfoutput==0) |
48 |
# define SYNCTEX_OUTPUT (nopdfoutput!=0?"xdv":"pdf") |
49 |
|
50 |
+#define SYNCTEX_CURH ((nopdfoutput==0)?(curh+4736287):curh) |
51 |
+#define SYNCTEX_CURV ((nopdfoutput==0)?(curv+4736287):curv) |
52 |
+ |
53 |
/* WARNING: |
54 |
The definition below must be in sync with their eponym declarations in synctex-xetex.ch1 |
55 |
*/ |
56 |
|
57 |
|
58 |
|
59 |
1.1 src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/020_all_offbyone_enctex_xetex.patch |
60 |
|
61 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/020_all_offbyone_enctex_xetex.patch?rev=1.1&view=markup |
62 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/020_all_offbyone_enctex_xetex.patch?rev=1.1&content-type=text/plain |
63 |
|
64 |
Index: 020_all_offbyone_enctex_xetex.patch |
65 |
=================================================================== |
66 |
r23740 | karl | 2011-08-28 21:14:50 -0300 (Sun, 28 Aug 2011) | 1 line |
67 |
|
68 |
branch2011: import off-by-one fix for enctex/xetex initialization (original r23187, see also email http://tug.org/pipermail/tldistro/2011q3/000120.html) |
69 |
Index: Build/source/texk/web2c/xetexdir/xetex.ch |
70 |
=================================================================== |
71 |
--- Build/source/texk/web2c/xetexdir/xetex.ch (revision 23739) |
72 |
+++ Build/source/texk/web2c/xetexdir/xetex.ch (revision 23740) |
73 |
@@ -328,7 +328,7 @@ |
74 |
{Initialize enc\TeX\ data.} |
75 |
for i:=0 to 255 do mubyte_read[i]:=null; |
76 |
for i:=0 to 255 do mubyte_write[i]:=0; |
77 |
-for i:=0 to 128 do mubyte_cswrite[i]:=null; |
78 |
+for i:=0 to 127 do mubyte_cswrite[i]:=null; |
79 |
mubyte_keep := 0; mubyte_start := false; |
80 |
write_noexpanding := false; cs_converting := false; |
81 |
special_printing := false; message_printing := false; |
82 |
Index: Build/source/texk/web2c/enctex.ch |
83 |
=================================================================== |
84 |
--- Build/source/texk/web2c/enctex.ch (revision 23739) |
85 |
+++ Build/source/texk/web2c/enctex.ch (revision 23740) |
86 |
@@ -42,7 +42,7 @@ |
87 |
{Initialize enc\TeX\ data.} |
88 |
for i:=0 to 255 do mubyte_read[i]:=null; |
89 |
for i:=0 to 255 do mubyte_write[i]:=0; |
90 |
-for i:=0 to 128 do mubyte_cswrite[i]:=null; |
91 |
+for i:=0 to 127 do mubyte_cswrite[i]:=null; |
92 |
mubyte_keep := 0; mubyte_start := false; |
93 |
write_noexpanding := false; cs_converting := false; |
94 |
special_printing := false; message_printing := false; |
95 |
|
96 |
|
97 |
|
98 |
1.1 src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/030_all_line_number_fix.patch |
99 |
|
100 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/030_all_line_number_fix.patch?rev=1.1&view=markup |
101 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/030_all_line_number_fix.patch?rev=1.1&content-type=text/plain |
102 |
|
103 |
Index: 030_all_line_number_fix.patch |
104 |
=================================================================== |
105 |
r24159 | karl | 2011-09-30 20:23:37 -0300 (Fri, 30 Sep 2011) | 1 line |
106 |
|
107 |
branch2011: import line number fix from trunk r24155 |
108 |
Index: Build/source/texk/web2c/luatexdir/tex/inputstack.w |
109 |
=================================================================== |
110 |
--- Build/source/texk/web2c/luatexdir/tex/inputstack.w (revision 24158) |
111 |
+++ Build/source/texk/web2c/luatexdir/tex/inputstack.w (revision 24159) |
112 |
@@ -307,12 +307,13 @@ |
113 |
print_int(iname - 1); |
114 |
print_char('>'); |
115 |
}; |
116 |
- } else if (iindex != in_open) { /* input from a pseudo file */ |
117 |
- tprint_nl("l."); |
118 |
- print_int(line_stack[iindex + 1]); |
119 |
} else { |
120 |
tprint_nl("l."); |
121 |
- print_int(line); |
122 |
+ if (iindex == in_open) { |
123 |
+ print_int(line); |
124 |
+ } else { /* input from a pseudo file */ |
125 |
+ print_int(line_stack[iindex + 1]); |
126 |
+ } |
127 |
} |
128 |
print_char(' '); |
129 |
PSEUDO_PRINT_THE_LINE(); |
130 |
Index: Build/source/texk/web2c/luatexdir/tex/printing.w |
131 |
=================================================================== |
132 |
--- Build/source/texk/web2c/luatexdir/tex/printing.w (revision 24158) |
133 |
+++ Build/source/texk/web2c/luatexdir/tex/printing.w (revision 24159) |
134 |
@@ -946,7 +946,7 @@ |
135 |
if (level == in_open) |
136 |
print_int(line); |
137 |
else |
138 |
- print_int(line_stack[iindex + 1 - (in_open - level)]); |
139 |
+ print_int(line_stack[level + 1]); |
140 |
tprint(": "); |
141 |
} |
142 |
} |
143 |
Index: Build/source/texk/web2c/tex.ch |
144 |
=================================================================== |
145 |
--- Build/source/texk/web2c/tex.ch (revision 24158) |
146 |
+++ Build/source/texk/web2c/tex.ch (revision 24159) |
147 |
@@ -4532,7 +4532,7 @@ |
148 |
else begin |
149 |
print_nl (""); print (full_source_filename_stack[level]); print (":"); |
150 |
if level=in_open then print_int (line) |
151 |
- else print_int (line_stack[index+1-(in_open-level)]); |
152 |
+ else print_int (line_stack[level+1]); |
153 |
print (": "); |
154 |
end; |
155 |
end; |
156 |
Index: Build/source/texk/web2c/tests/wprob.tex |
157 |
=================================================================== |
158 |
--- Build/source/texk/web2c/tests/wprob.tex (revision 0) |
159 |
+++ Build/source/texk/web2c/tests/wprob.tex (revision 24159) |
160 |
@@ -0,0 +1,15 @@ |
161 |
+\catcode`\%=14 |
162 |
+ |
163 |
+\catcode`\{=1 |
164 |
+\catcode`\}=2 |
165 |
+\catcode`\#=6 |
166 |
+ |
167 |
+\def\err#1{% |
168 |
+ \errmessage{Could not open file #1}% |
169 |
+} |
170 |
+\scantokens{ |
171 |
+ \err{NoSuchFile.eps} |
172 |
+} % The message above should be >>./wprob.tex:12: Could not open...<< |
173 |
+\end |
174 |
+ |
175 |
+ |
176 |
|
177 |
Index: Build/source/texk/web2c/etexdir/wprob.test |
178 |
=================================================================== |
179 |
--- Build/source/texk/web2c/etexdir/wprob.test (revision 0) |
180 |
+++ Build/source/texk/web2c/etexdir/wprob.test (revision 24159) |
181 |
@@ -0,0 +1,14 @@ |
182 |
+#! /bin/sh |
183 |
+ |
184 |
+# Copyright (C) 2011 Peter Breitenlohner <tex-live@×××.org> |
185 |
+# You may freely use, modify and/or distribute this file. |
186 |
+ |
187 |
+rm -rf wprob.* |
188 |
+cp $srcdir/tests/wprob.tex . |
189 |
+ |
190 |
+TEXMFCNF=$srcdir/../kpathsea \ |
191 |
+ ./etex --ini --etex --file-line-error --interaction=nonstopmode wprob.tex |
192 |
+ |
193 |
+grep '^\./wprob\.tex:12: Could not open file NoSuchFile\.eps\.$' \ |
194 |
+ wprob.log || exit 1 |
195 |
+ |
196 |
Index: Build/source/texk/web2c/etexdir/etex.ch |
197 |
=================================================================== |
198 |
--- Build/source/texk/web2c/etexdir/etex.ch (revision 24158) |
199 |
+++ Build/source/texk/web2c/etexdir/etex.ch (revision 24159) |
200 |
@@ -871,10 +871,9 @@ |
201 |
@x [22] m.313 l.6809 - e-TeX scan_tokens |
202 |
else begin print_nl("l."); print_int(line); |
203 |
@y |
204 |
-else if index<>in_open then {input from a pseudo file} |
205 |
- begin print_nl("l."); print_int(line_stack[index+1]); |
206 |
- end |
207 |
-else begin print_nl("l."); print_int(line); |
208 |
+else begin print_nl("l."); |
209 |
+ if index=in_open then print_int(line) |
210 |
+ else print_int(line_stack[index+1]); {input from a pseudo file} |
211 |
@z |
212 |
%--------------------------------------- |
213 |
@x [22] m.314 l.6831 - e-TeX basic |
214 |
Index: Build/source/texk/web2c/alephdir/eobase.ch |
215 |
=================================================================== |
216 |
--- Build/source/texk/web2c/alephdir/eobase.ch (revision 24158) |
217 |
+++ Build/source/texk/web2c/alephdir/eobase.ch (revision 24159) |
218 |
@@ -805,10 +805,9 @@ |
219 |
@x [22] m.313 l.6794 - e-TeX scan_tokens |
220 |
else begin print_nl("l."); print_int(line); |
221 |
@y |
222 |
-else if index<>in_open then {input from a pseudo file} |
223 |
- begin print_nl("l."); print_int(line_stack[index+1]); |
224 |
- end |
225 |
-else begin print_nl("l."); print_int(line); |
226 |
+else begin print_nl("l."); |
227 |
+ if index=in_open then print_int(line) |
228 |
+ else print_int(line_stack[index+1]); {input from a pseudo file} |
229 |
@z |
230 |
%--------------------------------------- |
231 |
@x [22] m.314 l.6814 - e-TeX basic |
232 |
Index: Build/source/texk/web2c/alephdir/com16bit.ch |
233 |
=================================================================== |
234 |
--- Build/source/texk/web2c/alephdir/com16bit.ch (revision 24158) |
235 |
+++ Build/source/texk/web2c/alephdir/com16bit.ch (revision 24159) |
236 |
@@ -2784,7 +2784,7 @@ |
237 |
else begin |
238 |
print_nl (""); print (full_source_filename_stack[level]); print (":"); |
239 |
if level=in_open then print_int (line) |
240 |
- else print_int (line_stack[index+1-(in_open-level)]); |
241 |
+ else print_int (line_stack[level+1]); |
242 |
print (": "); |
243 |
end; |
244 |
end; |
245 |
Index: Build/source/texk/web2c/pdftexdir/wprob.test |
246 |
=================================================================== |
247 |
--- Build/source/texk/web2c/pdftexdir/wprob.test (revision 0) |
248 |
+++ Build/source/texk/web2c/pdftexdir/wprob.test (revision 24159) |
249 |
@@ -0,0 +1,14 @@ |
250 |
+#! /bin/sh |
251 |
+ |
252 |
+# Copyright (C) 2011 Peter Breitenlohner <tex-live@×××.org> |
253 |
+# You may freely use, modify and/or distribute this file. |
254 |
+ |
255 |
+rm -rf wprob.* |
256 |
+cp $srcdir/tests/wprob.tex . |
257 |
+ |
258 |
+TEXMFCNF=$srcdir/../kpathsea \ |
259 |
+ ./pdftex --ini --etex --file-line-error --interaction=nonstopmode wprob.tex |
260 |
+ |
261 |
+grep '^\./wprob\.tex:12: Could not open file NoSuchFile\.eps\.$' \ |
262 |
+ wprob.log || exit 1 |
263 |
+ |
264 |
|
265 |
|
266 |
|
267 |
1.1 src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/040_all_buffer_overrun.patch |
268 |
|
269 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/040_all_buffer_overrun.patch?rev=1.1&view=markup |
270 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/040_all_buffer_overrun.patch?rev=1.1&content-type=text/plain |
271 |
|
272 |
Index: 040_all_buffer_overrun.patch |
273 |
=================================================================== |
274 |
------------------------------------------------------------------------ |
275 |
r24346 | karl | 2011-10-20 20:50:28 -0300 (Thu, 20 Oct 2011) | 1 line |
276 |
|
277 |
branch2011: import buffer overrun fix from trunk r24337 |
278 |
------------------------------------------------------------------------ |
279 |
Index: Build/source/texk/dvipsk/dospecial.c |
280 |
=================================================================== |
281 |
--- Build/source/texk/dvipsk/dospecial.c (revision 24345) |
282 |
+++ Build/source/texk/dvipsk/dospecial.c (revision 24346) |
283 |
@@ -112,7 +112,7 @@ |
284 |
fgetboundingbox(char *f, float *llx_p, float *lly_p, float *urx_p, float *ury_p) |
285 |
{ |
286 |
FILE *fp; |
287 |
- char buf[BUFSIZ]; |
288 |
+ char buf[BUFSIZ+1]; |
289 |
|
290 |
fp = search(figpath, f, READ); |
291 |
if (fp == 0) |
292 |
|
293 |
|
294 |
|
295 |
1.1 src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/050_all_memory_corruption.patch |
296 |
|
297 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/050_all_memory_corruption.patch?rev=1.1&view=markup |
298 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/050_all_memory_corruption.patch?rev=1.1&content-type=text/plain |
299 |
|
300 |
Index: 050_all_memory_corruption.patch |
301 |
=================================================================== |
302 |
------------------------------------------------------------------------ |
303 |
r24347 | karl | 2011-10-20 20:54:25 -0300 (Thu, 20 Oct 2011) | 1 line |
304 |
|
305 |
branch2011: import memory corruption, part of r23592, per Hironori Kitagawa, 19 Oct 2011 07:44:35 |
306 |
------------------------------------------------------------------------ |
307 |
Index: Build/source/texk/web2c/ptexdir/ptex-base.ch |
308 |
=================================================================== |
309 |
--- Build/source/texk/web2c/ptexdir/ptex-base.ch (revision 24346) |
310 |
+++ Build/source/texk/web2c/ptexdir/ptex-base.ch (revision 24347) |
311 |
@@ -5855,6 +5855,9 @@ |
312 |
var @!jc:KANJI_code; {temporary register for KANJI} |
313 |
@!sp,@!mp,@!ep:pointer; |
314 |
begin@/ |
315 |
+if f=null_font then |
316 |
+ begin get_jfm_pos:=kchar_type(null_font)(0); return; |
317 |
+ end; |
318 |
jc:=toDVI(kcode); |
319 |
sp:=1; { start position } |
320 |
ep:=font_num_ext[f]-1; { end position } |
321 |
@@ -6684,11 +6687,13 @@ |
322 |
goto main_loop_j+3; |
323 |
@# |
324 |
main_loop_j+1: space_factor:=1000; |
325 |
- fast_get_avail(main_p); font(main_p):=main_f; character(main_p):=cur_l; |
326 |
- link(tail):=main_p; tail:=main_p; last_jchr:=tail; |
327 |
- fast_get_avail(main_p); info(main_p):=KANJI(cur_chr); |
328 |
- link(tail):=main_p; tail:=main_p; |
329 |
- cx:=cur_chr; @<Insert kinsoku penalty@>; |
330 |
+ if main_f<>null_font then |
331 |
+ begin fast_get_avail(main_p); font(main_p):=main_f; character(main_p):=cur_l; |
332 |
+ link(tail):=main_p; tail:=main_p; last_jchr:=tail; |
333 |
+ fast_get_avail(main_p); info(main_p):=KANJI(cur_chr); |
334 |
+ link(tail):=main_p; tail:=main_p; |
335 |
+ cx:=cur_chr; @<Insert kinsoku penalty@>; |
336 |
+ end; |
337 |
ins_kp:=false; |
338 |
again_2: |
339 |
get_next; |
340 |
@@ -6724,7 +6729,10 @@ |
341 |
@# |
342 |
main_loop_j+3: |
343 |
if ins_kp=true then @<Insert |pre_break_penalty| of |cur_chr|@>; |
344 |
- @<Look ahead for glue or kerning@>; |
345 |
+ if main_f<>null_font then |
346 |
+ begin @<Look ahead for glue or kerning@>; |
347 |
+ end |
348 |
+ else inhibit_glue_flag:=false; |
349 |
if ins_kp=false then begin { Kanji -> Kanji } |
350 |
goto main_loop_j+1; |
351 |
end else if ins_kp=true then begin { Kanji -> Ascii } |
352 |
|
353 |
|
354 |
|
355 |
1.1 src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/060_all_eptex.patch |
356 |
|
357 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/060_all_eptex.patch?rev=1.1&view=markup |
358 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/060_all_eptex.patch?rev=1.1&content-type=text/plain |
359 |
|
360 |
Index: 060_all_eptex.patch |
361 |
=================================================================== |
362 |
------------------------------------------------------------------------ |
363 |
r24348 | karl | 2011-10-20 20:59:55 -0300 (Thu, 20 Oct 2011) | 1 line |
364 |
|
365 |
branch2011: import e-ptex fixes from trunk r23688 |
366 |
------------------------------------------------------------------------ |
367 |
Index: Build/source/texk/web2c/synctexdir/synctex-e-rec.ch0 |
368 |
=================================================================== |
369 |
--- Build/source/texk/web2c/synctexdir/synctex-e-rec.ch0 (revision 24347) |
370 |
+++ Build/source/texk/web2c/synctexdir/synctex-e-rec.ch0 (revision 24348) |
371 |
@@ -1,4 +1,4 @@ |
372 |
-Copyright (c) 2008, 2009 jerome DOT laurens AT u-bourgogne DOT fr |
373 |
+Copyright (c) 2008-2011 jerome DOT laurens AT u-bourgogne DOT fr |
374 |
|
375 |
This file is part of the SyncTeX package. |
376 |
|
377 |
@@ -82,21 +82,11 @@ |
378 |
link(prev_p):=p; |
379 |
@z |
380 |
|
381 |
-@x etex.ch l.4126 |
382 |
- if is_char_node(p) then r:=get_avail |
383 |
- else case type(p) of |
384 |
+@x etex.ch l.4186 |
385 |
hlist_node,vlist_node: begin r:=get_node(box_node_size); |
386 |
- mem[r+6]:=mem[p+6]; mem[r+5]:=mem[p+5]; {copy the last two words} |
387 |
- words:=5; list_ptr(r):=null; {this affects |mem[r+5]|} |
388 |
- end; |
389 |
@y |
390 |
- if is_char_node(p) then r:=get_avail |
391 |
- else case type(p) of |
392 |
hlist_node,vlist_node: begin r:=get_node(box_node_size); |
393 |
@<Copy the box {\sl Sync\TeX} information@>; |
394 |
- mem[r+6]:=mem[p+6]; mem[r+5]:=mem[p+5]; {copy the last two words} |
395 |
- words:=5; list_ptr(r):=null; {this affects |mem[r+5]|} |
396 |
- end; |
397 |
@z |
398 |
|
399 |
@x synctex-e-mem.ch0 l.100 |
400 |
Index: Build/source/texk/web2c/eptexdir/eptex.ech |
401 |
=================================================================== |
402 |
--- Build/source/texk/web2c/eptexdir/eptex.ech (revision 24347) |
403 |
+++ Build/source/texk/web2c/eptexdir/eptex.ech (revision 24348) |
404 |
@@ -283,6 +283,19 @@ |
405 |
othercases goto next_p |
406 |
@z |
407 |
|
408 |
+@x e-pTeX: just_copy |
409 |
+ hlist_node,vlist_node: begin r:=get_node(box_node_size); |
410 |
+@y |
411 |
+ dir_node, |
412 |
+ hlist_node,vlist_node: begin r:=get_node(box_node_size); |
413 |
+@z |
414 |
+@x e-pTeX: just_copy |
415 |
+ words:=5; list_ptr(r):=null; {this affects |mem[r+5]|} |
416 |
+@y |
417 |
+ words:=5; list_ptr(r):=null; {this affects |mem[r+5]|} |
418 |
+ add_glue_ref(space_ptr(r)); add_glue_ref(xspace_ptr(r)); |
419 |
+@z |
420 |
+ |
421 |
@x e-pTeX: ifcsname l.28620 |
422 |
buffer[m]:=info(p) mod @'400; incr(m); p:=link(p); |
423 |
@y |
424 |
|
425 |
|
426 |
|
427 |
1.1 src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/070_all_luatex_array.patch |
428 |
|
429 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/070_all_luatex_array.patch?rev=1.1&view=markup |
430 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/070_all_luatex_array.patch?rev=1.1&content-type=text/plain |
431 |
|
432 |
Index: 070_all_luatex_array.patch |
433 |
=================================================================== |
434 |
------------------------------------------------------------------------ |
435 |
r24363 | karl | 2011-10-22 20:08:32 -0300 (Sat, 22 Oct 2011) | 1 line |
436 |
|
437 |
branch2011: import luatex array fix from trunk r24353 |
438 |
------------------------------------------------------------------------ |
439 |
Index: Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c |
440 |
=================================================================== |
441 |
--- Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c (revision 24362) |
442 |
+++ Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/psread.c (revision 24363) |
443 |
@@ -385,7 +385,7 @@ |
444 |
wrapper->top = io; |
445 |
} |
446 |
|
447 |
-static int ioescapestopped(IO *wrapper, struct psstack *stack, int sp) { |
448 |
+static int ioescapestopped(IO *wrapper, struct psstack *stack, int sp, const size_t bsize) { |
449 |
_IO *io = wrapper->top, *iop; |
450 |
int wasstopped; |
451 |
|
452 |
@@ -396,7 +396,7 @@ |
453 |
free(io); |
454 |
if ( wasstopped ) { |
455 |
wrapper->top = iop; |
456 |
- if ( sp<(int)(sizeof(stack)/sizeof(stack[0])) ) { |
457 |
+ if ( sp<(int)bsize ) { |
458 |
stack[sp].type = ps_bool; |
459 |
stack[sp++].u.tf = true; |
460 |
} |
461 |
@@ -1609,7 +1609,7 @@ |
462 |
} |
463 |
break; |
464 |
case pt_stop: |
465 |
- sp = ioescapestopped(wrapper,stack,sp); |
466 |
+ sp = ioescapestopped(wrapper,stack,sp,sizeof(stack)/sizeof(stack[0])); |
467 |
break; |
468 |
case pt_load: |
469 |
if ( sp>=1 && stack[sp-1].type==ps_lit ) { |
470 |
|
471 |
|
472 |
|
473 |
1.1 src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/080_all_ttf2pk.patch |
474 |
|
475 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/080_all_ttf2pk.patch?rev=1.1&view=markup |
476 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/texlive/2011/upstream/gentoo_branch2011_patches/080_all_ttf2pk.patch?rev=1.1&content-type=text/plain |
477 |
|
478 |
Index: 080_all_ttf2pk.patch |
479 |
=================================================================== |
480 |
------------------------------------------------------------------------ |
481 |
r24460 | peter | 2011-11-02 12:38:52 -0300 (Wed, 02 Nov 2011) | 1 line |
482 |
|
483 |
branch2011: import ttf2pk bug fix from trunk r24454 |
484 |
------------------------------------------------------------------------ |
485 |
Index: Build/source/texk/ttf2pk/ttf2pk.c |
486 |
=================================================================== |
487 |
--- Build/source/texk/ttf2pk/ttf2pk.c (revision 24459) |
488 |
+++ Build/source/texk/ttf2pk/ttf2pk.c (revision 24460) |
489 |
@@ -300,7 +300,8 @@ |
490 |
long inenc_array[256]; |
491 |
char *fontname; |
492 |
size_t fontname_len; |
493 |
- char *pk_filename, *tfm_filename, *enc_filename, *map_filename; |
494 |
+ char *pk_filename, *tfm_filename, *enc_filename; |
495 |
+ char *map_filename = NULL; |
496 |
char *real_ttfname, *real_map_filename; |
497 |
int dpi = 0, ptsize; |
498 |
Boolean hinting = True; |
499 |
@@ -374,11 +375,14 @@ |
500 |
p = mapfiles; |
501 |
while (*p) |
502 |
{ |
503 |
+ if (map_filename) |
504 |
+ free(map_filename); |
505 |
map_filename = p; |
506 |
while (*p != '\n') |
507 |
p++; |
508 |
*p++ = '\0'; |
509 |
|
510 |
+ map_filename = newstring(map_filename); |
511 |
real_map_filename = TeX_search_map_file(&map_filename); |
512 |
if (!real_map_filename) |
513 |
{ |