[uClibc-cvs] uClibc/libc/stdlib/malloc-930716 malloc.c,1.8,1.9

Erik Andersen andersen at codepoet.org
Thu Jan 23 09:06:39 UTC 2003


Update of /var/cvs/uClibc/libc/stdlib/malloc-930716
In directory winder:/tmp/cvs-serv1542/libc/stdlib/malloc-930716

Modified Files:
	malloc.c 
Log Message:
Kill the needless '#if 1'


Index: malloc.c
===================================================================
RCS file: /var/cvs/uClibc/libc/stdlib/malloc-930716/malloc.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- malloc.c	5 Sep 2002 05:54:26 -0000	1.8
+++ malloc.c	23 Jan 2003 09:06:36 -0000	1.9
@@ -160,11 +160,9 @@
     size_t log, block, blocks, i, lastblocks, start;
     struct list *next;
 
-#if 1
     /* Some programs will call malloc (0).  Lets be strict and return NULL */
     if (size == 0)
 	return NULL;
-#endif
 
     if (size < sizeof (struct list))
 	size = sizeof (struct list);




More information about the uClibc-cvs mailing list