sizeof(char)

Dag-Erling Smørgrav des at des.no
Fri Sep 30 06:37:59 EST 2011


Roumen Petrov <openssh at roumenpetrov.info> writes:
> I don't know what you apply but  patch as is just say good bay on old
> systems where char is with sizeof integer.

I suggest you read what I wrote, and the passage I quoted from the C
standard.

To summarize: sizeof(char) == 1.  Always.  No exceptions.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the openssh-unix-dev mailing list