Date: Sun, 28 Jul 1996 21:26:39 -0500 Message-Id: <199607290226.VAA01065@smtp.utexas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: djgpp AT delorie DOT com From: Conrad Wei-Li Song Subject: Malloc and realloc pains... Just so everyone's aware. There are quirks in which different libraries treat malloc and realloc routines. 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?