diff lib/vasnprintf.c @ 9827:32d08ee66484

Fix a bug in unistdio routines, introduced on 2007-06-10.
author Bruno Haible <bruno@clisp.org>
date Sun, 30 Mar 2008 14:09:00 +0200
parents cbba7bfe013b
children 787bf3487678
line wrap: on
line diff
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -4553,7 +4553,7 @@
 			      DCHAR_T *p = rp + count;
 			      DCHAR_T *end = p + pad;
 			      DCHAR_T *pad_ptr;
-# if !DCHAR_IS_TCHAR
+# if !DCHAR_IS_TCHAR || ENABLE_UNISTDIO
 			      if (dp->conversion == 'c'
 				  || dp->conversion == 's')
 				/* No zero-padding for string directives.  */