Re: daemon.c broken on OpenBSD

From: Linus Torvalds <>
Date: 2005-10-25 03:58:25
On Mon, 24 Oct 2005, H. Peter Anvin wrote:
> A much more likely cause for problems would be system headers that use the
> isxxx() macros as part of other macros.  That would be in violation of POSIX,
> but is reasonably common.

Hmm.. Yes, that's a good point. I don't see what thing could do it that we 
care about (and since we do actually do a pretty valid ctype 
implementation, it should all work out right regardless), but yes, it 
might be safer to rename the things.

Especially if we then continue to make sure _not_ to include <ctype.h> 
ourselves, so that only systems with broken headers (like the ones on 
OpenBSD ;) could ever use the standard names anyway. That way we'd not 
have to worry whether somebody uses them by mistake..

Btw, nobody ever replied to my question whether we might be using 
something else that is locale-specific. I'm not actually locate-aware 
enough to even know what else than <ctype.h> might be dangerous to use..


To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Tue Oct 25 03:59:45 2005

This archive was generated by hypermail 2.1.8 : 2005-10-25 03:59:48 EST