* stdio-common/vfprintf.c: Correct last patch and use outchar
	instead of PUTC to output single characters.
This commit is contained in:
Ulrich Drepper 1999-10-05 00:36:41 +00:00
parent f5f7239f68
commit e41db95b9e
3 changed files with 245 additions and 275 deletions

View File

@ -1,5 +1,8 @@
1999-10-04 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfprintf.c: Correct last patch and use outchar
instead of PUTC to output single characters.
* configure.in: Add additional options --with-gd-include and
--with-gd-lib to help people with strange installations.

497
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -711,16 +711,16 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
} \
\
if (is_negative) \
PUTC (L_('-'), s); \
outchar (L_('-')); \
else if (showsign) \
PUTC (L_('+'), s); \
outchar (L_('+')); \
else if (space) \
PUTC (L_(' '), s); \
outchar (L_(' ')); \
\
if (number.word != 0 && alt && base == 16) \
{ \
PUTC (L_('0'), s); \
PUTC (spec, s); \
outchar (L_('0')); \
outchar (spec); \
} \
\
width += prec; \
@ -734,24 +734,24 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
{ \
if (is_negative) \
{ \
PUTC (L_('-'), s); \
outchar (L_('-')); \
--width; \
} \
else if (showsign) \
{ \
PUTC (L_('+'), s); \
outchar (L_('+')); \
--width; \
} \
else if (space) \
{ \
PUTC (L_(' '), s); \
outchar (L_(' ')); \
--width; \
} \
\
if (number.word != 0 && alt && base == 16) \
{ \
PUTC (L_('0'), s); \
PUTC (spec, s); \
outchar (L_('0')); \
outchar (spec); \
width -= 2; \
} \
\