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 ...@@ -142,6 +142,9 @@ Zope Changes
Bugs fixed 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 - ZReST: the charset used in the rendered HTML was not set to the
corresponding output_encoding property of the ZReST instance. In addition corresponding output_encoding property of the ZReST instance. In addition
changing the encodings through the Properties tab did not re-render changing the encodings through the Properties tab did not re-render
......
...@@ -23,11 +23,14 @@ static PyObject * ...@@ -23,11 +23,14 @@ static PyObject *
initgroups_initgroups(PyObject *self, PyObject *args) initgroups_initgroups(PyObject *self, PyObject *args)
{ {
char *username; char *username;
unsigned int igid;
gid_t gid; gid_t gid;
if (!PyArg_ParseTuple(args, "sl:initgroups", &username, &gid)) if (!PyArg_ParseTuple(args, "sI:initgroups", &username, &igid))
return NULL; return NULL;
gid = igid;
if (initgroups(username, gid) == -1) if (initgroups(username, gid) == -1)
return PyErr_SetFromErrno(PyExc_OSError); 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