silly debugging question

Kevin Ryde user42 at
Wed Apr 14 01:42:34 CEST 2004

DTAshley at 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