summaryrefslogtreecommitdiff
path: root/lib/vasnprintf.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-09-18 12:34:27 +0200
committerBruno Haible <bruno@clisp.org>2008-09-18 12:34:27 +0200
commit865b1b89588921dbeb326ab00352148e0087d1ce (patch)
treefdb735edbf99c201f9517b9d1675f53542a2885e /lib/vasnprintf.c
parentcb0fce1e8a7ba381bb1d108d82b384da0f688bc3 (diff)
downloadgnulib-865b1b89588921dbeb326ab00352148e0087d1ce.tar.gz
Tweak last commit.
Diffstat (limited to 'lib/vasnprintf.c')
-rw-r--r--lib/vasnprintf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c
index f50ca3fcd4..e4bfca3a4e 100644
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -215,7 +215,7 @@ local_wcslen (const wchar_t *s)
#undef remainder
#define remainder rem
-#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL
+#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE || NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL
/* Determine the decimal-point character according to the current locale. */
# ifndef decimal_point_char_defined
# define decimal_point_char_defined 1
@@ -3167,11 +3167,6 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
}
*p++ = dp->conversion; /* 'e' or 'E' */
*p++ = '+';
- /* Produce the same number of exponent digits as
- the native printf implementation. */
-# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
- *p++ = '0';
-# endif
*p++ = '0';
*p++ = '0';
}