Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!aurora!ames!ll-xn!mit-eddie!uw-beaver!ubc-vision!alberta!andrew From: andrew@alberta.UUCP (Andrew Folkins) Newsgroups: comp.sys.ibm.pc Subject: malloc in MSC 4.0 ? Message-ID: <138@cadomin.UUCP> Date: Sat, 31-Oct-87 02:34:37 EST Article-I.D.: cadomin.138 Posted: Sat Oct 31 02:34:37 1987 Date-Received: Sun, 8-Nov-87 02:47:36 EST Organization: U. of Alberta, Edmonton, AB Lines: 20 Keywords: malloc microsoft broken Are Microsoft's malloc() routines broken? Today I found that a structure being allocated in one file was being placed in a character array in another file. Moving the array to the start of the file solved that problem, but I'm wondering what else is going on that I should worry about. I'm seriously worried about realloc(), just repeatedly calling it with different sizes eventually locks up the machine. This is a true-blue AT, using the default memory model (small, I believe). On a related topic, didn't a replacement for malloc() float by a while ago (>6 months)? I thought I saved it, but it seems to have vanished. Anyone out there care to email me a copy? AtDhVaAnNkCsE -- Andrew Folkins ...ihnp4!alberta!andrew 53 24' N, 113 30' W The University of Alberta, Edmonton, Alberta, Canada Arthur C. Clarke's Law : It has yet to be proven that intelligence has any survival value.