Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
1b50a347
Commit
1b50a347
authored
Aug 05, 2004
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Collector #1267: applied patch to fix segmentation faults on x86_64 systems
parent
f4a9cd52
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/Components/initgroups/initgroups.c
lib/Components/initgroups/initgroups.c
+4
-1
No files found.
doc/CHANGES.txt
View file @
1b50a347
...
@@ -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
...
...
lib/Components/initgroups/initgroups.c
View file @
1b50a347
...
@@ -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
,
"s
l:initgroups"
,
&
username
,
&
gid
))
if
(
!
PyArg_ParseTuple
(
args
,
"s
I:initgroups"
,
&
username
,
&
i
gid
))
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment