[issue4591] uid/gid problem in os.chown

STINNER Victor report at bugs.python.org
Mon Dec 8 23:35:51 CET 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

2^31-2 doesn't fit in long on 32 bits CPU. On my Linux box, uid_t is an 
unsigned integer (32 bits unsigned integer). Why not using "unsigned 
int"? chown prototype:

   int chown(const char *path, uid_t owner, gid_t group);

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list