diff options
| author | Christian Heimes <christian@cheimes.de> | 2013-12-21 16:19:10 +0100 |
|---|---|---|
| committer | Christian Heimes <christian@cheimes.de> | 2013-12-21 16:19:10 +0100 |
| commit | af01f668173d4061893148b54a0f01b91c7716c2 (patch) | |
| tree | 0931bce7ed986e784415b587ae4b4823e7a6c753 /Modules/grpmodule.c | |
| parent | 5255b86fba38a5e22a0991772a3c1bbf3edd66cc (diff) | |
| download | cpython-git-af01f668173d4061893148b54a0f01b91c7716c2.tar.gz | |
Issue #16136: Remove VMS support and VMS-related code
Diffstat (limited to 'Modules/grpmodule.c')
| -rw-r--r-- | Modules/grpmodule.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/grpmodule.c b/Modules/grpmodule.c index a85a2715e9..c8a93723ea 100644 --- a/Modules/grpmodule.c +++ b/Modules/grpmodule.c @@ -58,17 +58,12 @@ mkgrent(struct group *p) #define SET(i,val) PyStructSequence_SET_ITEM(v, i, val) SET(setIndex++, PyUnicode_DecodeFSDefault(p->gr_name)); -#ifdef __VMS - SET(setIndex++, Py_None); - Py_INCREF(Py_None); -#else if (p->gr_passwd) SET(setIndex++, PyUnicode_DecodeFSDefault(p->gr_passwd)); else { SET(setIndex++, Py_None); Py_INCREF(Py_None); } -#endif SET(setIndex++, _PyLong_FromGid(p->gr_gid)); SET(setIndex++, w); #undef SET |
