> Isn't this a bug in FreeBSD?
>
> It's not reasonable to expect every program in the world to suddenly use
> unsigned char to represent characters, it seems to me.

I can say nothink about every program in the world, but I have a talk
with FreeBSD locale-master (Andrey Chernov, [EMAIL PROTECTED]), and as a result
he modified man pages for isalpha, toupper, etc to reflect the fact,
that chars should be unsigned.  So he do not treat it as a bug.

I do not know much about compilers, but may be on some systems chars are
unsigned by default, and on others they are signed?

I can state that the program I gave you in the previous message does work
on Mandrake 6.0.  But on FreeBSD it isn't.

After all, an explicit use of _unsigned_ chars should not do anythink evil...

--dima

Reply via email to