Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 388326 Details for
Bug 518174
empathy and gnome-contacts crash immediately after startup with folks[zeitgeist]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-WhereClause-Fix-array-length-to-work-with-string.joi.patch
0001-WhereClause-Fix-array-length-to-work-with-string.joi.patch (text/plain), 962 bytes, created by
Peter Volkov (RETIRED)
on 2014-11-02 10:49:59 UTC
(
hide
)
Description:
0001-WhereClause-Fix-array-length-to-work-with-string.joi.patch
Filename:
MIME Type:
Creator:
Peter Volkov (RETIRED)
Created:
2014-11-02 10:49:59 UTC
Size:
962 bytes
patch
obsolete
>From 201bd67de450320520a12e2b0c465c8eb6818bd2 Mon Sep 17 00:00:00 2001 >From: Rico Tzschichholz <ricotz@ubuntu.com> >Date: Mon, 17 Mar 2014 20:57:49 +0100 >Subject: [PATCH] WhereClause: Fix array-length to work with string.joinv of > vala-0.24 > >--- > libzeitgeist/where-clause.vala | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/libzeitgeist/where-clause.vala b/libzeitgeist/where-clause.vala >index a830599..d981914 100644 >--- a/libzeitgeist/where-clause.vala >+++ b/libzeitgeist/where-clause.vala >@@ -211,7 +211,11 @@ namespace Zeitgeist > */ > private T[] generic_array_to_unowned_array<T> (GenericArray<T> gptrarr) > { >+#if VALA_0_24 >+ long[] pointers = new long[gptrarr.length]; >+#else > long[] pointers = new long[gptrarr.length + 1]; >+#endif > Memory.copy(pointers, ((PtrArray *) gptrarr)->pdata, > (gptrarr.length) * sizeof (void *)); > return (T[]) pointers; >-- >2.0.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 518174
:
388324
| 388326