diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-10 22:03:08 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-10 22:03:08 +0200 |
commit | 86ec5c17d2f2c1e37adc19ab6e56f5df6a216ba8 (patch) | |
tree | 4864cd3ca36ab530faff0752ec5959223a9decca /Modules/pwdmodule.c | |
parent | 4a170da6dcdabfc35196c7564c732591c9d0d8cb (diff) | |
parent | a77421c0e7bb63bd120cd569411756dc58b3cb81 (diff) | |
download | cpython-86ec5c17d2f2c1e37adc19ab6e56f5df6a216ba8.tar.gz |
Issue #4591: Uid and gid values larger than 2**31 are supported now.
Diffstat (limited to 'Modules/pwdmodule.c')
-rw-r--r-- | Modules/pwdmodule.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c index 632ffe3be8..4807aa3daf 100644 --- a/Modules/pwdmodule.c +++ b/Modules/pwdmodule.c @@ -164,12 +164,8 @@ pwd_getpwall(PyObject *self) struct passwd *p; if ((d = PyList_New(0)) == NULL) return NULL; -#if defined(PYOS_OS2) && defined(PYCC_GCC) - if ((p = getpwuid(0)) != NULL) { -#else setpwent(); while ((p = getpwent()) != NULL) { -#endif PyObject *v = mkpwent(p); if (v == NULL || PyList_Append(d, v) != 0) { Py_XDECREF(v); |