Fixing a stupid typo in xvasprintf.c... from Oskar Liljeblad.
authorBruno Haible <bruno@clisp.org>
Wed, 29 Sep 2004 20:14:02 +0000 (20:14 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 29 Sep 2004 20:14:02 +0000 (20:14 +0000)
lib/ChangeLog
lib/xvasprintf.c

index faf7e4457c1ca2e4c06a589be9236e587f8d5d7a..f72d532e8ad1b023fc8ac07934c7f918e25bcd8f 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-29  Oskar Liljeblad  <oskar@osk.mine.nu>
+
+       * xvasprintf.c: Include xalloc.h.
+       (xvasprintf): Use xalloc_die, not xmalloc_die.
+
 2004-09-28  Paul Eggert  <eggert@cs.ucla.edu>
 
        * dummy.c: Change copyright notice to FSF, and license to GPL.
index 89b58363342db8042bd38ab8a2e74523166ddbbb..beea45ac13c0dbf8e9fc5c5369b15457f6b9e2b1 100644 (file)
@@ -25,6 +25,7 @@
 #include <errno.h>
 
 #include "vasprintf.h"
+#include "xalloc.h"
 
 char *
 xvasprintf (const char *format, va_list args)
@@ -34,7 +35,7 @@ xvasprintf (const char *format, va_list args)
   if (vasprintf (&result, format, args) < 0)
     {
       if (errno == ENOMEM)
-       xmalloc_die();
+       xalloc_die ();
       return NULL;
     }