Jeroen Demeyer on Wed, 15 Jan 2014 23:38:54 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

"not enough memory" message misleading

In pari_init_stack(), the message

***   Warning: not enough memory, new stack X

is produced when malloc() failed to allocate X bytes, but I find that confusing: it sounds like X bytes were successfully allocated (after a previous failed allocation). I propose to change the message to

***   Warning: not enough memory, failed to allocate X bytes

or something in this spirit.