* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.
This commit is contained in:
parent
5da7a22be0
commit
28e1bd0159
|
@ -1,3 +1,12 @@
|
||||||
|
2014-10-29 Terry Guo <terry.guo@arm.com>
|
||||||
|
|
||||||
|
* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.
|
||||||
|
|
||||||
|
2014-10-27 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* libc/stdlib/__call_atexit.c (__deregister_exitproc): Add Cygwin-only
|
||||||
|
function to deregister functions from the atexit function chain.
|
||||||
|
|
||||||
2014-10-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
2014-10-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
* libc/include/sys/unistd.h (sethostname): Declare if
|
* libc/include/sys/unistd.h (sethostname): Declare if
|
||||||
|
|
|
@ -1521,11 +1521,9 @@ string:
|
||||||
*/
|
*/
|
||||||
char *p = memchr (cp, 0, prec);
|
char *p = memchr (cp, 0, prec);
|
||||||
|
|
||||||
if (p != NULL) {
|
if (p != NULL)
|
||||||
size = p - cp;
|
size = p - cp;
|
||||||
if (size > prec)
|
else
|
||||||
size = prec;
|
|
||||||
} else
|
|
||||||
size = prec;
|
size = prec;
|
||||||
} else
|
} else
|
||||||
size = strlen (cp);
|
size = strlen (cp);
|
||||||
|
|
Loading…
Reference in New Issue