On Tue, Mar 20, 2001 at 18:13:20 +0000, thinker wrote:

> +             sz = mbtowc(&c, p, dc);

> +                     if (isprint(c)) {

As MINOURA correctly notes, you can't use isprint() with wchar_t type
(isprint() is for runes and single chars only, but runes are not widely
accepted standard). You need to use iswprint(), see

http://www.opengroup.org/onlinepubs/007908799/xsh/iswprint.html 

It means you need to implement wctype.h and isw*() family _before_ any ls
modifications. Of course they can be easily implemented via existen runes,
so consider runes as internal interface.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to