r392 - trunk
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Jan 11 18:44:38 EST 2008
Author: icculus
Date: 2008-01-11 18:44:37 -0500 (Fri, 11 Jan 2008)
New Revision: 392
Modified:
trunk/universal.h
Log:
Minor comment added.
Modified: trunk/universal.h
===================================================================
--- trunk/universal.h 2007-12-18 14:49:09 UTC (rev 391)
+++ trunk/universal.h 2008-01-11 23:44:37 UTC (rev 392)
@@ -125,6 +125,8 @@
void warn(const char *fmt, ...) ISPRINTF(1,2);
// Malloc replacements that blow up on allocation failure.
+// Please note that xmalloc() will zero the newly-allocated memory buffer,
+// like calloc() would, but xrealloc() makes no such promise!
void *xmalloc(size_t bytes);
void *xrealloc(void *ptr, size_t bytes);
char *xstrdup(const char *str);
More information about the mojosetup-commits
mailing list