Mageia Bugzilla – Attachment 1478 Details for
Bug 4314
gnome-control-center segfaults on startup in oxygen theme
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
workaround gnome-control-center issues in libx11
libx11-fix-segfault.diff (text/plain), 391 bytes, created by
Thierry Vignaud
on 2012-02-01 11:57:02 CET
(
hide
)
Description:
workaround gnome-control-center issues in libx11
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2012-02-01 11:57:02 CET
Size:
391 bytes
patch
obsolete
>diff -p -up ./src/Xrm.c.tv ./src/Xrm.c >--- ./src/Xrm.c.tv 2012-02-01 09:59:20.292704363 +0000 >+++ ./src/Xrm.c 2012-02-01 09:59:21.047704710 +0000 >@@ -2539,7 +2539,7 @@ Bool XrmQGetResource( > register NTable table; > VClosureRec closure; > >- if (db && *names) { >+ if (db && db->linfo.lock && *names) { > _XLockMutex(&db->linfo); > closure.type = pType; > closure.value = pValue;
diff -p -up ./src/Xrm.c.tv ./src/Xrm.c --- ./src/Xrm.c.tv 2012-02-01 09:59:20.292704363 +0000 +++ ./src/Xrm.c 2012-02-01 09:59:21.047704710 +0000 @@ -2539,7 +2539,7 @@ Bool XrmQGetResource( register NTable table; VClosureRec closure; - if (db && *names) { + if (db && db->linfo.lock && *names) { _XLockMutex(&db->linfo); closure.type = pType; closure.value = pValue;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4314
: 1478 |
1479
|
1506