[uClibc-cvs] uClibc/libc/stdlib/malloc-930716 malloc.c,1.12,1.13

Erik Andersen andersen at uclibc.org
Fri Oct 17 09:05:25 UTC 2003


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

Modified Files:
	malloc.c 
Log Message:
Doh!!!


Index: malloc.c
===================================================================
RCS file: /var/cvs/uClibc/libc/stdlib/malloc-930716/malloc.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- malloc.c	16 Oct 2003 14:21:26 -0000	1.12
+++ malloc.c	17 Oct 2003 09:05:20 -0000	1.13
@@ -167,7 +167,7 @@
 #else
     /* Some programs will call malloc (0).  Lets be strict and return NULL */
     if (unlikely(size == 0))
-	return 0
+	return 0;
 #endif
     /* Check if they are doing something dumb like malloc(-1) */
     if (unlikely(((unsigned long)size > (unsigned long)(sizeof (struct list)*-2))))




More information about the uClibc-cvs mailing list