Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alsoft:LFS
coreutils
coreutils-8.3-groupfix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File coreutils-8.3-groupfix.patch of Package coreutils
--- coreutils-8.3/lib/getugroups.c.groups 2010-01-04 17:19:05.000000000 +0100 +++ coreutils-8.3/lib/getugroups.c 2010-01-11 07:09:44.000000000 +0100 @@ -75,8 +75,12 @@ errno = 0; grp = getgrent (); - if (grp == NULL) + if (grp == NULL) { + if (errno == ENOENT) + /* expected at the end of the group list, so ignore errno */ + errno =0; break; + } for (cp = grp->gr_mem; *cp; ++cp) { @@ -102,6 +106,7 @@ if (count == INT_MAX) { errno = EOVERFLOW; + count = -1; goto done; } count++;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor