summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-10-22 14:22:07 +0200
committerCorinna Vinschen <corinna@vinschen.de>2015-10-22 14:22:07 +0200
commitef75017378c2b6ae62cb8bdb196a4d188302f930 (patch)
tree4ae5fd93d238faf7bc2d8547a632df7592ddfe3d /newlib/libc/stdlib/labs.c
parentc0345822e502f45b412ab595e14c51dfdae5aaef (diff)
downloadcygnal-ef75017378c2b6ae62cb8bdb196a4d188302f930.tar.gz
cygnal-ef75017378c2b6ae62cb8bdb196a4d188302f930.tar.bz2
cygnal-ef75017378c2b6ae62cb8bdb196a4d188302f930.zip
Fix length returned from sys_cp_wcstombs in case nwc > # of wchars
* strfuncs.cc (sys_cp_wcstombs): Always return number of multibytes without trailing NUL as the documentation implies. Throughout Cygwin, fix usage to align to this pattern. * fhandler_process.cc (format_process_winexename): Drop trailing NUL and LF from output. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions