Mageia Bugzilla – Attachment 4737 Details for
Bug 10468
Stepmania crashes on start with oxigen-gtk theme
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch to oxygen-gtk2 to prevent crash due to broken regexp support
patch.diff (text/plain), 536 bytes, created by
Hugo Pereira Da Costa
on 2014-01-07 18:02:09 CET
(
hide
)
Description:
patch to oxygen-gtk2 to prevent crash due to broken regexp support
Filename:
MIME Type:
Creator:
Hugo Pereira Da Costa
Created:
2014-01-07 18:02:09 CET
Size:
536 bytes
patch
obsolete
>diff --git a/src/oxygenrgba.cpp b/src/oxygenrgba.cpp >index 768b060..4b42250 100644 >--- a/src/oxygenrgba.cpp >+++ b/src/oxygenrgba.cpp >@@ -77,7 +77,7 @@ namespace Oxygen > "(?:(\\d+),(\\d+),(\\d+)(?:,(\\d+))?)", > G_REGEX_CASELESS, (GRegexMatchFlags)0, 0L ); > >- GMatchInfo* matchInfo; >+ GMatchInfo* matchInfo(0L); > g_regex_match( regex, value.c_str(), (GRegexMatchFlags)0, &matchInfo); > const int matchCount( g_match_info_get_match_count( matchInfo ) ); > if( matchCount == 2 )
diff --git a/src/oxygenrgba.cpp b/src/oxygenrgba.cpp index 768b060..4b42250 100644 --- a/src/oxygenrgba.cpp +++ b/src/oxygenrgba.cpp @@ -77,7 +77,7 @@ namespace Oxygen "(?:(\\d+),(\\d+),(\\d+)(?:,(\\d+))?)", G_REGEX_CASELESS, (GRegexMatchFlags)0, 0L ); - GMatchInfo* matchInfo; + GMatchInfo* matchInfo(0L); g_regex_match( regex, value.c_str(), (GRegexMatchFlags)0, &matchInfo); const int matchCount( g_match_info_get_match_count( matchInfo ) ); if( matchCount == 2 )
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10468
: 4737