[issue12852] POSIX level issues in posixmodule.c on OpenBSD 5.0

Charles-François Natali report at bugs.python.org
Wed Sep 7 22:58:38 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

> _POSIX_C_SOURCE value is set automatically depending on _XOPEN_SOURCE
> value.

I know, but I think it's better to be consistent an also bump _POSIX_C_SOURCE to POSIX 2008, and follow POSIX's recommandation (http://pubs.opengroup.org/onlinepubs/9699919799/):
"""
A Strictly Conforming POSIX Application is an application that requires only the facilities described in POSIX.1-2008. Such an application:
[...]
For the C programming language, shall define _POSIX_C_SOURCE to be 200809L before any header is included
"""

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12852>
_______________________________________


More information about the Python-bugs-list mailing list