Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
libX11.8392
p_xlib_skip_ext_env.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File p_xlib_skip_ext_env.diff of Package libX11.8392
--- QuExt.c 2006-05-12 20:46:51.000000000 +0200 +++ src/QuExt.c 2006-05-20 21:07:13.000000000 +0200 @@ -43,6 +43,20 @@ xQueryExtensionReply rep; register xQueryExtensionReq *req; + 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 ? 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