Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:marvin24
curl
curl-strict-aliasing.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File curl-strict-aliasing.patch of Package curl
--- lib/ldap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- lib/ldap.c.orig +++ lib/ldap.c @@ -198,7 +198,10 @@ static dynafunc DynaGetFunction(const ch * cannot typecast a data pointer to a function pointer, but that's * exactly what we need to do here to avoid compiler warnings on picky * compilers! */ - *(void**) (&func) = dlsym(libldap, name); + /* mmarek@suse.cz: I guess we can live with the void* -> funcptr conversion + * on systems where dlsym is supported... anyway less harm that risking + * strict aliasing bugs... */ + func = dlsym(libldap, name); } #ifdef DL_LBER_FILE if (!func && liblber) {
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