On Thu, Jan 14, 2021 at 12:19:39PM +0100, Martin Husemann wrote: > On Thu, Jan 14, 2021 at 12:14:28PM +0100, Manuel Bouyer wrote: > > Any comment about this ? I'm not familiar with these details ... > > man ctype and search for CAVEATS
thanks. So NetBSD and glibc took different approach to try to avoid undefined behavior. I am right saying that both are standard-compliant ? Does the standard explicitely state that the value should either be EOF or >= 0 ? -- Manuel Bouyer <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --