I contacted the tcsh-bug mailing list.
Here's a reply from Jean-Luc Leger:

> ok I have been tracking the problem to the function rt_mbtowc in tc.str.c
> In tcsh 6.17.01, a call to mbtowc() in this function has been replaced by a 
> call to
> mbrtowc().
> On my system, those functions behave differently when called with an empty 
> input string :
> - mbtowc() resets the output string to \0
> - mbrtowc() leaves the output string as it is.

> So, the patch should probably reset the output string to \0 before calling 
> mbrtowc()
> or test the return value (= 0) and then reset the output string.

I hope to get a patch from him, that I can test.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to