Commit 1b50a347 authored by Andreas Jung's avatar Andreas Jung

     - Collector #1267: applied patch to fix segmentation faults on 
       x86_64 systems
parent f4a9cd52
......@@ -142,6 +142,9 @@ Zope Changes
Bugs fixed
- Collector #1267: applied patch to fix segmentation faults on
x86_64 systems
- ZReST: the charset used in the rendered HTML was not set to the
corresponding output_encoding property of the ZReST instance. In addition
changing the encodings through the Properties tab did not re-render
......
......@@ -23,11 +23,14 @@ static PyObject *
initgroups_initgroups(PyObject *self, PyObject *args)
{
char *username;
unsigned int igid;
gid_t gid;
if (!PyArg_ParseTuple(args, "sl:initgroups", &username, &gid))
if (!PyArg_ParseTuple(args, "sI:initgroups", &username, &igid))
return NULL;
gid = igid;
if (initgroups(username, gid) == -1)
return PyErr_SetFromErrno(PyExc_OSError);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment