From: "Salvador Eduardo Tropea (SET)" To: j DOT aldrich6 AT genie DOT com, conradsong AT mail DOT utexas DOT edu Subject: Re: Malloc and realloc pains.. Cc: djgpp AT delorie DOT com Date: Mon, 5 Aug 1996 16:52:51 +0300 (GMT) Message-ID: <9608051653.aa11550@ailin.inti.edu.ar> Hi: >>Borland returns a NULL pointer on a malloc( (size_t)(0) ); >>Microsoft does not deallocate the passed memory block on a failed realloc. >>Perhaps someone can come up with a way to neatly fix the problem? >Well, I suppose you could somehow obtain the source code for these >compilers, debug it, and submit patched versions to the respective >companies. Of course, there's no way they'd release the source >code, so that's out. Not so fast, Borland released ALL your run-time libraries code for the library version 5.0, that's for BC++3.1, so if somebody wants to look the Borland code is available, but you must buy the BC++3.1 w/application framework ;). bye SET. ******************************************************************************** Salvador Eduardo Tropea (SET) - salvador AT inti DOT edu DOT ar Work: INTI (National Institute of Industrial Technology) Sector: ICE (Electronic Control & Instrumentation) Post (Home): Curapaligue 2124 - Caseros (1678)- Buenos Aires - Argentina