This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/11125] <stdio.h> is incomplete for POSIX 2008


------- Additional Comments From jakub at redhat dot com  2010-01-04 21:02 -------
Can't reproduce the getline issue, it is prototyped (since 2009-02-26).
va_list is defined only with -D_XOPEN_SOURCE=700, not with
-D_POSIX_C_SOURCE=200809L, not sure what is right.  If it is supposed to be
defined also for _POSIX_C_SOURCE >= 200909L, then
#ifdef __USE_XOPEN
# ifdef __GNUC__
#  ifndef _VA_LIST_DEFINED
typedef _G_va_list va_list;
#   define _VA_LIST_DEFINED
#  endif
# else
#  include <stdarg.h>
# endif
#endif
would need to use #if defined __USE_XOPEN || defined __USE_XOPEN2K8
instead (or __USE_XOPEN2K?).

ssize_t would need something like:
#ifdef __USE_XOPEN2K8
# ifndef __ssize_t_defined
typedef __ssize_t ssize_t;
#  define __ssize_t_defined
# endif
#endif
in a right spot in libio/stdio.h.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11125

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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