silly debugging question

Kevin Ryde user42 at zip.com.au
Wed Apr 14 01:42:34 CEST 2004


DTAshley at aol.com writes:
>
> A second possibility is that you have an oddball version of realloc().  I 
> believe realloc() is required to treat a NULL pointer as a malloc(),

Yep, in recent standards, but in the bad old days it wasn't
necessarily so.

> and something may be going wrong there.

gmp never passes NULL to realloc.


More information about the gmp-discuss mailing list