On 11/13/13 4:03 PM, bla blamail wrote: > introduced with > http://git.savannah.gnu.org/cgit/bash.git/commit/lib/sh/unicode.c?id=495aee44 > > builtin echo -e > through ansictr(), and u32cconv() may end up calling wctomb(). however > this function may return -1 when it can not be converted into a > multibyte sequence. This value is then returrned to its callers, and > interpreted as the amount of bytes consumed. (r += u32cconv(v, r)).
That code has been pretty substantially rewritten since bash-4.2 was released, and no longer returns the value from wctomb(). Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/