mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 19:40:07 +08:00
7890be6e7d
* libc/stdio/vfwprintf.c (wcvt): Add a new parameter len of type int. *length is set to the value of (rev - digits) regardless of whether _MB_CAPABLE is defined or not. Replace BUF with len in calling _mbsnrtowcs_r and also in the loop where _MB_CAPABLE is not defined. (_VFWPRINTF_R): Call wcvt with an extra argument. Call wcvt again with allocated new buffer if buf is not large enough for the conversion. * testsuite/newlib.stdio/stdio.exp: New. * testsuite/newlib.stdio/swprintf.c: Likewise.
13 lines
267 B
Plaintext
13 lines
267 B
Plaintext
# Copyright (C) 2011 by ARM Ltd. All rights reserved.
|
|
#
|
|
# Permission to use, copy, modify, and distribute this software
|
|
# is freely granted, provided that this notice is preserved.
|
|
#
|
|
|
|
load_lib passfail.exp
|
|
|
|
set exclude_list {
|
|
}
|
|
|
|
newlib_pass_fail_all -x $exclude_list
|