This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] stdio.h: Use __POSIX_VISIBLE etc. guards for POSIX 1003.1:2001 functions


On Feb  4 17:07, Jon Turney wrote:
> Current mesa expects stdio.h to prototype fileno() when compiling with gcc
> -std=c99 -D_XOPEN_SOURCE
> 
> Fix the 'POSIX 1003.1:2001' block in stdio.h to prototype functions if not
> __STRICT_ANSI__, or _BSD_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined
> appropriately
> 
> As far as I can tell, despite being in this block, setbuffer() and setlinebuf()
> are BSDisms which aren't in POSIX 1003.1:2001

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]