projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
632099f
)
Fixing a stupid typo in xvasprintf.c... from Oskar Liljeblad.
author
Bruno Haible
<bruno@clisp.org>
Wed, 29 Sep 2004 20:14:02 +0000
(20:14 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Wed, 29 Sep 2004 20:14:02 +0000
(20:14 +0000)
lib/ChangeLog
patch
|
blob
|
history
lib/xvasprintf.c
patch
|
blob
|
history
diff --git
a/lib/ChangeLog
b/lib/ChangeLog
index faf7e4457c1ca2e4c06a589be9236e587f8d5d7a..f72d532e8ad1b023fc8ac07934c7f918e25bcd8f 100644
(file)
--- 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.
diff --git
a/lib/xvasprintf.c
b/lib/xvasprintf.c
index 89b58363342db8042bd38ab8a2e74523166ddbbb..beea45ac13c0dbf8e9fc5c5369b15457f6b9e2b1 100644
(file)
--- 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
@@
xvasprintf (const char *format, va_list args)
if (vasprintf (&result, format, args) < 0)
{
if (errno == ENOMEM)
- x
malloc_die
();
+ x
alloc_die
();
return NULL;
}