[haiku-commits] Re: haiku: hrev47001 - headers/posix

  • From: Jonathan Schleifer <js-haiku-commits@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 10 Mar 2014 17:43:51 +0100

Am 10.03.2014 um 17:31 schrieb Jérôme Duval <korli@xxxxxxxxxxxxxxxx>:

> Only getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked
> are POSIX compliant.
> Other should be protected by checks for _GNU_SOURCE or _BSD_SOURCE as
> appropriate.

None of our headers does that _GNU_SOURCE madness, and I'm quite happy about 
that. Also, we had fputc_unlocked and there was no _GNU_SOURCE either.

_GNU_SOURCE is the reason why I hate glibc and the single most reasons why 
standard-compliant software does not build with glibc. It *always* causes 
trouble. Let's not make Haiku's header as troublesome as glibc's ;).

--
Jonathan


Other related posts: