Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
procps
procps-ng-3.3.9-sysctl-iobuf-fd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File procps-ng-3.3.9-sysctl-iobuf-fd.patch of Package procps
Index: procps-ng-3.3.9/sysctl.c =================================================================== --- procps-ng-3.3.9.orig/sysctl.c +++ procps-ng-3.3.9/sysctl.c @@ -219,7 +219,7 @@ static int ReadSetting(const char *restr fp = fopen(tmpname, "r"); - if (iobuf) + if (iobuf && fp) setvbuf(fp, iobuf, _IOFBF, IOBUFSIZ); if (!fp) { @@ -443,7 +443,7 @@ static int WriteSetting(const char *sett fp = fopen(tmpname, "w"); - if (iobuf) + if (iobuf && fp) setvbuf(fp, iobuf, _IOFBF, IOBUFSIZ); if (!fp) {
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