<div class="gmail_quote">On Wed, Sep 8, 2010 at 6:12 PM, Ian Lynagh <span dir="ltr">&lt;<a href="mailto:igloo@earth.li">igloo@earth.li</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
copyI describes its last parameter as<br>
    First offset in source /not/ to copy (i.e. /not/ length)<br>
but I think it&#39;s actually the first offset in /dest/ not to /write to/.<br></blockquote><div><br></div><div>That&#39;s correct.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
In Data.Text.append there&#39;s a (len1+len2) that could be just len.<br></blockquote><div><br></div><div>Fixed :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This program segfaults (on 64bit; try 2^28 if on 32bit):</blockquote><div><br></div><div>Also fixed, and a regression test added.</div><div><br></div><div>Thanks!</div></div>