[Dev-luatex] Multiple issues with tprint

luigi scarso luigi.scarso at gmail.com
Fri Mar 29 08:13:19 CET 2019


On Thu, Mar 28, 2019 at 10:55 PM Marcel Kr├╝ger <tex at 2krueger.de> wrote:

>
> \let\3\relax
> \directlua{
>   texio.write'\3'% Only to be escaped characters -> valgrind complains
> about write into unallocated memory
>
>   texio.write_nl''
>
>   for i=1,kpse.var_value'max_print_line'-3 do texio.write'.' end
>   texio.write'\3' % Here LuaTex writes 2 and not just 1 byte after it's
> allocated memory area
>
>   for i=1,kpse.var_value'max_print_line'-1 do texio.write'.' end
>   texio.write'\3' % The line break would fall inside of the escape
> sequence -> Line limit ignored
>   for i=1,2*kpse.var_value'max_print_line' do texio.write'.' end % This
> should normally not fit into one line
> }
> \bye
>
>
How do you run valgrind ? Which version  ?
Do you compile luatex with standard -O2 ?

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/dev-luatex/attachments/20190329/b0cc2c93/attachment.html>


More information about the dev-luatex mailing list