[Python-checkins] python/dist/src/Objects obmalloc.c,2.49,2.50

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sat, 23 Nov 2002 01:13:42 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv25570/Objects

Modified Files:
	obmalloc.c 
Log Message:
Remove MALLOC_ZERO_RETURNS_NULL.


Index: obmalloc.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/obmalloc.c,v
retrieving revision 2.49
retrieving revision 2.50
diff -C2 -d -r2.49 -r2.50
*** obmalloc.c	26 Oct 2002 15:01:53 -0000	2.49
--- obmalloc.c	23 Nov 2002 09:13:40 -0000	2.50
***************
*** 689,696 ****
  	 * has been reached.
  	 */
- #ifdef MALLOC_ZERO_RETURNS_NULL
  	if (nbytes == 0)
  		nbytes = 1;
- #endif
  	return (void *)malloc(nbytes);
  }
--- 689,694 ----