3 ms·
Was there a specification back when this was written? Did it specify what it does now?
by pwdisswordfish9 4y ago
Was there a specification back when this was written? Did it specify what it does now?
- tedunangst 4y agoYes, the function is defined to either return enough memory for the requested number of objects, or null. Returning less than enough memory is clearly out of spec. This was later stated explicitly, but at no time was it ever permitted.