From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 3 Mar 2005 08:13:38 +0200 From: Sergey Reva Message-ID: <582542421.20050303081338@mail.ru> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] realloc In-Reply-To: <546fc93e2b9a8dae55875ff7e04830a7@vitanuova.com> References: <1807515500.20050302192656@mail.ru> <546fc93e2b9a8dae55875ff7e04830a7@vitanuova.com> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 1e319678-ead0-11e9-9d60-3106f5b1d025 Hello rog, Wednesday, March 2, 2005, 8:16:36 PM, you wrote: rvc> i haven't time to work out exactly how you're going wrong, rvc> (you *are* scribbling over the end of a malloc block) rvc> but here's a likely candidate: rvc> memmove(Text+text_pos+2,Text+text_pos,text_count-text_pos); Really wrong... now I see... But why stk() in acid show last executed function (in my program) as realloc? Thanks! --=20 http://rs-rlab.narod.ru mailto:rs_rlab@mail.ru