Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
net-snmp.1199
net-snmp-5.7.2-build-fix-for-strlcat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File net-snmp-5.7.2-build-fix-for-strlcat.patch of Package net-snmp.1199
commit 4a6d0378a3916571ce7604c4a3d54a8c96a8f807 Author: Bart Van Assche <bvanassche@acm.org> Date: Sun Oct 28 09:54:12 2012 -0700 Windows: Visual Studio 6 build fix for strlcat() Index: net-snmp-5.7.2/snmplib/strlcat.c =================================================================== --- net-snmp-5.7.2.orig/snmplib/strlcat.c +++ net-snmp-5.7.2/snmplib/strlcat.c @@ -37,7 +37,7 @@ * If retval >= siz, truncation occurred. */ size_t -strlcat(char * __restrict dst, const char * __restrict src, size_t siz) +strlcat(char *dst, const char *src, size_t siz) { char *d = dst; const char *s = src; Index: net-snmp-5.7.2/include/net-snmp/library/system.h =================================================================== --- net-snmp-5.7.2.orig/include/net-snmp/library/system.h +++ net-snmp-5.7.2/include/net-snmp/library/system.h @@ -196,8 +196,7 @@ SOFTWARE. #endif #ifndef HAVE_STRLCAT NETSNMP_IMPORT - size_t strlcat(char * __restrict, const char * __restrict, - size_t); + size_t strlcat(char *, const char *, size_t); #endif int netsnmp_os_prematch(const char *ospmname,
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