Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
procps
procps-3.2.8-sysctlerr.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procps-3.2.8-sysctlerr.dif of Package procps
--- sysctl.c +++ sysctl.c 2010-01-29 14:22:55.119429196 +0000 @@ -146,8 +146,10 @@ static int ReadSetting(const char *restr slashdot(outname,'/','.'); /* change / to . */ if (stat(tmpname, &ts) < 0) { - perror(tmpname); - rc = -1; + if (!IgnoreError) { + perror(tmpname); + rc = -1; + } goto out; } if ((ts.st_mode & S_IRUSR) == 0) @@ -322,8 +324,10 @@ static int WriteSetting(const char *sett slashdot(outname,'/','.'); /* change / to . */ if (stat(tmpname, &ts) < 0) { - perror(tmpname); - rc = -1; + if (!IgnoreError) { + perror(tmpname); + rc = -1; + } goto out; }
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