[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
- Previous message: [uClibc-cvs] uClibc/docs/uclibc.org FAQ.html, 1.17, 1.18 index.html, 1.73, 1.74 old-news.html, 1.14, 1.15
- Next message: [uClibc-cvs] uClibc/libc/pwd_grp putgrent.c, NONE, 1.1 Makefile, 1.22, 1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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))))
- Previous message: [uClibc-cvs] uClibc/docs/uclibc.org FAQ.html, 1.17, 1.18 index.html, 1.73, 1.74 old-news.html, 1.14, 1.15
- Next message: [uClibc-cvs] uClibc/libc/pwd_grp putgrent.c, NONE, 1.1 Makefile, 1.22, 1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the uClibc-cvs
mailing list