projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5ab73
)
vasnprintf: Fix syntax errors in libintl build on mingw.
author
Bruno Haible
<bruno@clisp.org>
Sun, 9 May 2010 09:14:46 +0000
(11:14 +0200)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 9 May 2010 09:14:46 +0000
(11:14 +0200)
ChangeLog
patch
|
blob
|
history
lib/vasnprintf.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
6bd0b3e
..
d4a6a53
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,9
@@
+2010-05-09 Bruno Haible <bruno@clisp.org>
+
+ vasnprintf: Fix syntax errors in libintl build on mingw.
+ * lib/vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine
+ pad_ourselves and prec_ourselves after use.
+
2010-05-08 Bruno Haible <bruno@clisp.org>
* lib/config.charset: Update comments for Cygwin 1.7.
diff --git
a/lib/vasnprintf.c
b/lib/vasnprintf.c
index
836bf10
..
41c6271
100644
(file)
--- a/
lib/vasnprintf.c
+++ b/
lib/vasnprintf.c
@@
-2889,8
+2889,8
@@
VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
length += n;
}
}
- }
# endif
+ }
#endif
#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL
else if ((dp->conversion == 'a' || dp->conversion == 'A')
@@
-5498,6
+5498,8
@@
VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
length += count;
break;
}
+#undef pad_ourselves
+#undef prec_ourselves
}
}
}