]> granicus.if.org Git - python/commit
Fix chown on 64-bit linux. It needed to take a long (64-bit on 64bit linux) as
authorGregory P. Smith <greg@mad-scientist.com>
Tue, 18 Mar 2008 19:05:32 +0000 (19:05 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Tue, 18 Mar 2008 19:05:32 +0000 (19:05 +0000)
commitf48da8fbcdcf8c9eac2553131a07b8b375c0d726
tree390a50f541ce72e9dd8ec244d701035540c59ec3
parent89065753803cc65eded79ceae04aac6d1b8526a0
Fix chown on 64-bit linux.  It needed to take a long (64-bit on 64bit linux) as
uid and gid input to accept values >=2**31 as valid while still accepting
negative numbers to pass -1 to chown for "no change".

Fixes issue1747858.

This should be backported to release25-maint.
Lib/test/test_posix.py
Modules/posixmodule.c