Mercurial > hg > octave-lyh > gnulib-hg
changeset 5272:533332af517b
Fixing a stupid typo in xvasprintf.c... from Oskar Liljeblad.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 29 Sep 2004 20:14:02 +0000 |
parents | 9882dc65d34b |
children | 0e6f016e3192 |
files | lib/ChangeLog lib/xvasprintf.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -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.
--- a/lib/xvasprintf.c +++ b/lib/xvasprintf.c @@ -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 @@ if (vasprintf (&result, format, args) < 0) { if (errno == ENOMEM) - xmalloc_die(); + xalloc_die (); return NULL; }