Index: Modules/grpmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/grpmodule.c,v retrieving revision 2.21 diff -c -r2.21 grpmodule.c *** Modules/grpmodule.c 3 May 2003 09:14:53 -0000 2.21 --- Modules/grpmodule.c 22 Jul 2003 22:59:36 -0000 *************** *** 122,128 **** return NULL; setgrent(); while ((p = getgrent()) != NULL) { ! PyObject *v = mkgrent(p); if (v == NULL || PyList_Append(d, v) != 0) { Py_XDECREF(v); Py_DECREF(d); --- 122,131 ---- return NULL; setgrent(); while ((p = getgrent()) != NULL) { ! PyObject *v; ! if (p->gr_name && strcmp(p->gr_name, "+") == 0 && !p->gr_passwd) ! break; ! v = mkgrent(p); if (v == NULL || PyList_Append(d, v) != 0) { Py_XDECREF(v); Py_DECREF(d);