Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
net-snmp
net-snmp-5.7.1-use-pclose-to-close-pipes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-snmp-5.7.1-use-pclose-to-close-pipes.patch of Package net-snmp
commit 97172b311d20f4441c7a7e90092b59c1e0da99f7 Author: Thomas Jarosch <tjarosch@users.sourceforge.net> Date: Wed Oct 5 08:46:39 2011 +0200 CHANGES: PATCH: 3418649: HOST-RESOURCES-MIB: Use pclose() instead of fclose() to close a pipe. diff --git a/agent/mibgroup/host/data_access/swinst_apt.c b/agent/mibgroup/host/data_access/swinst_apt.c index d204857..a562faf 100644 --- a/agent/mibgroup/host/data_access/swinst_apt.c +++ b/agent/mibgroup/host/data_access/swinst_apt.c @@ -95,7 +95,7 @@ netsnmp_swinst_arch_load( netsnmp_container *container, u_int flags) entry->swDate_len = 8; memcpy(entry->swDate, "\0\0\1\1\0\0\0\0", 8); } - fclose(p); + pclose(p); DEBUGMSGTL(("swinst:load:arch"," loaded %d entries\n", CONTAINER_SIZE(container)));
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