[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

Serhiy Storchaka report at bugs.python.org
Mon Nov 12 16:46:57 CET 2012


Serhiy Storchaka added the comment:

> I think the patch will break on Unix systems that don't have uid_t or gid_t types.

I think defines to int will be used on such systems.  As I understand the configure script.

> A smal nit with the patch: it uses "long long" as a type instead of PY_LONG_LONG"

Thank you.  Fixed.

----------
Added file: http://bugs.python.org/file27972/posix_uid_gid_conv_2.patch

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


More information about the Python-bugs-list mailing list