Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!infmx!giao From: giao@infmx.UUCP (Giao TienVu) Newsgroups: comp.sys.amiga Subject: Re: where the hell is realloc on Manx? Message-ID: <172@infmx.UUCP> Date: 4 May 88 16:38:33 GMT References: <8234@ames.arpa> Organization: Informix Software Inc., Menlo Park, CA. Lines: 11 Summary: realloc() exists but seems to be broken In article <8234@ames.arpa>, mike@ames.arpa (Mike Smithwick) writes: > Ok, I give up, where the hell is realloc in Manx (3.4, 3.6, etc.). It > taint' in the library, it taint' in the lib source, it tis' is the manual. > realloc() is in the file heapmem.o distributed in lib. However, small model realloc() is broken because of an argument was passed as long instead of int to movmem() in the function. Therefore, chances are high that you'll lose the content of the reallocated buffer. I tried a patch and things appear to work fine. giao