mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
merge 2.7.4 branch
This commit is contained in:
commit
e48b2c29bd
1 changed files with 2 additions and 2 deletions
|
@ -357,7 +357,7 @@ _PyInt_FromUid(uid_t uid)
|
||||||
{
|
{
|
||||||
if (uid <= LONG_MAX)
|
if (uid <= LONG_MAX)
|
||||||
return PyInt_FromLong(uid);
|
return PyInt_FromLong(uid);
|
||||||
return PyInt_FromUnsignedLong(uid);
|
return PyLong_FromUnsignedLong(uid);
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject *
|
PyObject *
|
||||||
|
@ -365,7 +365,7 @@ _PyInt_FromGid(gid_t gid)
|
||||||
{
|
{
|
||||||
if (gid <= LONG_MAX)
|
if (gid <= LONG_MAX)
|
||||||
return PyInt_FromLong(gid);
|
return PyInt_FromLong(gid);
|
||||||
return PyInt_FromUnsignedLong(gid);
|
return PyLong_FromUnsignedLong(gid);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue