projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* obstack.h (__INT_TO_PTR): Revert change of 2003-03-13;
[gnulib.git]
/
lib
/
vasnprintf.c
diff --git
a/lib/vasnprintf.c
b/lib/vasnprintf.c
index
7aac42b
..
b3ab2d6
100644
(file)
--- a/
lib/vasnprintf.c
+++ b/
lib/vasnprintf.c
@@
-40,12
+40,12
@@
#include "printf-parse.h"
/* For those losing systems which don't have 'alloca' we have to add
#include "printf-parse.h"
/* For those losing systems which don't have 'alloca' we have to add
- some additional code emulating it. */
-#ifdef HAVE_ALLOCA
+ some additional code emulating it. */
+#ifdef HAVE_ALLOCA
# define freea(p) /* nothing */
#else
# define freea(p) /* nothing */
#else
-# define alloca(n) malloc (n)
-# define freea(p) free (p)
+# define alloca(n) malloc (n)
+# define freea(p) free (p)
#endif
char *
#endif
char *
@@
-510,7
+510,7
@@
vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args)
retcount = 0;
#if HAVE_SNPRINTF
retcount = 0;
#if HAVE_SNPRINTF
-#define SNPRINTF_BUF(arg) \
+#
define SNPRINTF_BUF(arg) \
switch (prefix_count) \
{ \
case 0: \
switch (prefix_count) \
{ \
case 0: \
@@
-530,7
+530,7
@@
vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args)
abort (); \
}
#else
abort (); \
}
#else
-#define SNPRINTF_BUF(arg) \
+#
define SNPRINTF_BUF(arg) \
switch (prefix_count) \
{ \
case 0: \
switch (prefix_count) \
{ \
case 0: \