Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:obsgeek0:repos:ALP
libX11
p_xlib_skip_ext_env.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File p_xlib_skip_ext_env.diff of Package libX11
Index: src/QuExt.c =================================================================== --- src/QuExt.c.orig +++ src/QuExt.c @@ -45,6 +45,20 @@ XQueryExtension( if (name != NULL && strlen(name) >= USHRT_MAX) return false; + if (name && strlen (name) < 256) + { + char var[256 + 15]; + int i; + + strcpy (var, "XLIB_SKIP_EXT_"); + for (i = 0; name[i]; i++) + var[i + 14] = name[i] == '-' ? '_' : name[i]; + + var[i + 14] = 0; + if (getenv (var)) + return False; + } + LockDisplay(dpy); GetReq(QueryExtension, req); req->nbytes = name ? (CARD16) strlen(name) : 0;
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