* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
Correctly nest else within conditionals. Reported by Artur Lipowski.
This commit is contained in:
parent
fc7290fd39
commit
c99e78b85c
|
@ -1,3 +1,9 @@
|
||||||
|
2007-10-13 Eric Blake <ebb9@byu.net>
|
||||||
|
|
||||||
|
* libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
|
||||||
|
Correctly nest else within conditionals.
|
||||||
|
Reported by Artur Lipowski.
|
||||||
|
|
||||||
2007-10-09 Nick Clifton <nickc@redhat.com>
|
2007-10-09 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
|
* libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
|
||||||
|
@ -341,7 +347,7 @@
|
||||||
* libm/machine/spu/wf_log.c: Ditto.
|
* libm/machine/spu/wf_log.c: Ditto.
|
||||||
* libm/machine/spu/wf_log10.c: Ditto.
|
* libm/machine/spu/wf_log10.c: Ditto.
|
||||||
* libm/machine/spu/wf_remainder.c: Ditto.
|
* libm/machine/spu/wf_remainder.c: Ditto.
|
||||||
|
|
||||||
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
|
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
|
||||||
|
|
||||||
* libc/machine/spu/sys/uio.h: New file for readv and writev use.
|
* libc/machine/spu/sys/uio.h: New file for readv and writev use.
|
||||||
|
|
|
@ -1039,9 +1039,10 @@ reswitch: switch (ch) {
|
||||||
cp = "(null)";
|
cp = "(null)";
|
||||||
size = ((unsigned) prec > 6U) ? 6 : prec;
|
size = ((unsigned) prec > 6U) ? 6 : prec;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
#endif /* __OPTIMIZE_SIZE__ */
|
#endif /* __OPTIMIZE_SIZE__ */
|
||||||
#ifdef _MB_CAPABLE
|
#ifdef _MB_CAPABLE
|
||||||
else if (ch == 'S' || (flags & LONGINT)) {
|
if (ch == 'S' || (flags & LONGINT)) {
|
||||||
mbstate_t ps;
|
mbstate_t ps;
|
||||||
_CONST wchar_t *wcp;
|
_CONST wchar_t *wcp;
|
||||||
|
|
||||||
|
@ -1101,8 +1102,9 @@ reswitch: switch (ch) {
|
||||||
}
|
}
|
||||||
cp[size] = '\0';
|
cp[size] = '\0';
|
||||||
}
|
}
|
||||||
|
else
|
||||||
#endif /* _MB_CAPABLE */
|
#endif /* _MB_CAPABLE */
|
||||||
else if (prec >= 0) {
|
if (prec >= 0) {
|
||||||
/*
|
/*
|
||||||
* can't use strlen; can only look for the
|
* can't use strlen; can only look for the
|
||||||
* NUL in the first `prec' characters, and
|
* NUL in the first `prec' characters, and
|
||||||
|
|
Loading…
Reference in New Issue