[tex-live] tl14 status

Kuznetsov A.N. pm_kan at mail.ru
Sun Apr 27 11:18:37 CEST 2014


Hi,

I've attached patch that declare `k` as integer in `start_input` and
`open_or_close_in`. It fixes pool overflow issue for me.

By the way, what is a "right way" to create/change changefile? I can't find
something like diff for WEB files, so these changes were added manually to .ch
file and section and line references in @x comment part (for example `[29.537]
l.10338`) were just copied from the next change block that patches the same
function.

 23.04.2014 2:02 Khaled Hosny wrote:
> On Tue, Apr 22, 2014 at 08:53:34PM +0000, Karl Berry wrote:
>>     http://sourceforge.net/p/xetex/bugs/90
>>
>> sf is not answering me right now.
>>
>> Khaled, is there prospects for a fix, whatever it is?
> 
> No idea, the code for handling input file names is not something I’m
> very familiar with (the code in question does not look very XeTeX
> specific as well, though I can not reproduce the bug with other
> engines).

-- 
Best regards,
 Kuznetsov Andrey
-------------- next part --------------
--- xetex.ch.orig	2014-03-15 01:23:32.000000000 +0400
+++ xetex.ch	2014-04-27 12:25:53.760898117 +0400
@@ -400,6 +400,15 @@
 @z
 
 @x [29.537] l.10338 - start_input
+var temp_str: str_number;
+begin scan_file_name; {set |cur_name| to desired file name}
+ at y
+var temp_str: str_number;
+@!k:0..file_name_size; {index into |name_of_file16|}
+begin scan_file_name; {set |cur_name| to desired file name}
+ at z
+
+ at x [29.537] l.10338 - start_input
      and a_open_in(cur_file, kpse_tex_format) then
     goto done;
 @y
@@ -553,6 +562,15 @@
 @z
 
 @x [49.1275] l.23441 - Same stuff as for \input, this time for \openin.
+var c:0..1; {1 for \.{\\openin}, 0 for \.{\\closein}}
+@!n:0..15; {stream number}
+ at y
+var c:0..1; {1 for \.{\\openin}, 0 for \.{\\closein}}
+@!n:0..15; {stream number}
+@!k:0..file_name_size; {index into |name_of_file16|}
+ at z
+
+ at x [49.1275] l.23441 - Same stuff as for \input, this time for \openin.
      and a_open_in(read_file[n], kpse_tex_format) then
     read_open[n]:=just_open;
 @y
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/tex-live/attachments/20140427/bccaf497/attachment.bin>


More information about the tex-live mailing list