projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Take into account the number of pushed-back bytes (ungetc).
[gnulib.git]
/
lib
/
asprintf.c
diff --git
a/lib/asprintf.c
b/lib/asprintf.c
index
7884954
..
1d51eac
100644
(file)
--- a/
lib/asprintf.c
+++ b/
lib/asprintf.c
@@
-1,5
+1,5
@@
/* Formatted output to strings.
/* Formatted output to strings.
- Copyright (C) 1999, 2002, 2006
,
2007 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006
-
2007 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-18,7
+18,11
@@
#include <config.h>
/* Specification. */
#include <config.h>
/* Specification. */
-#include <stdio.h>
+#ifdef IN_LIBASPRINTF
+# include "vasprintf.h"
+#else
+# include <stdio.h>
+#endif
#include <stdarg.h>
#include <stdarg.h>