[issue22623] Missing guards for some POSIX functions

Serhiy Storchaka report at bugs.python.org
Sun Feb 22 19:49:39 CET 2015


Serhiy Storchaka added the comment:

HAVE_SYS_RESOURCE_H still is used for #include in several files.

If guards are added to pwd functions, shouldn't it be added to grp and spwd functions? Is there a platform that have pwd.h, but not getpwuid, getpwnam or getpwent. May be instead testing the existence of separate functions adds the test about the existence of pwd.h in configure?

----------

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


More information about the Python-bugs-list mailing list