[tz] [PROPOSED] Do not assume bytes have 8 bits
Clive D.W. Feather
clive at davros.org
Mon Apr 26 07:16:28 UTC 2021
Garrett Wollman via tz said:
> POSIX since 2001 requires eight-bit bytes,
Yes, that was my fault. (I've just been reading through my records of what
I send to the austin-group list; it's fascinating in retrospect.) I
pointed out that various network functions (starting with htonl() and
friends and then going on to how send() and recv() worked on a socket)
needed a better definition to cope with systems where CHAR_BIT > 8.
Instead of adopting my suggestions (which were, I accept, complicated) it
was decided to require that CHAR_BIT was always 8.
--
Clive D.W. Feather | If you lie to the compiler,
Email: clive at davros.org | it will get its revenge.
Web: http://www.davros.org | - Henry Spencer
Mobile: +44 7973 377646
More information about the tz
mailing list