From 1e28e5e59634f56cdeaff528afb122a5735adf09 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 19 Aug 1992 16:46:30 +0000 Subject: * renamed malloc.h mymalloc.h, and added MALLARG as the type of the argument to malloc() (size_t or unsigned int) * listobject.c: check for overflow of the size of the object, so things like range(0x7fffffff) will raise MemoryError instead of calling malloc() with -4 (and then crashing -- malloc's fault) --- Include/pgenheaders.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/pgenheaders.h') diff --git a/Include/pgenheaders.h b/Include/pgenheaders.h index 42319cddf9..86071420eb 100644 --- a/Include/pgenheaders.h +++ b/Include/pgenheaders.h @@ -49,6 +49,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #endif #include "PROTO.h" -#include "malloc.h" +#include "mymalloc.h" extern void fatal PROTO((char *)); -- cgit v1.2.1