Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 327974 Details for
Bug 429722
Version bump app-admin/elektra-0.8.3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
elektra-0.8.3-fix-yajl-if-user-config.patch
elektra-0.8.3-fix-yajl-if-user-config.patch (text/plain), 814 bytes, created by
Andreas Sturmlechner
on 2012-11-01 19:07:30 UTC
(
hide
)
Description:
elektra-0.8.3-fix-yajl-if-user-config.patch
Filename:
MIME Type:
Creator:
Andreas Sturmlechner
Created:
2012-11-01 19:07:30 UTC
Size:
814 bytes
patch
obsolete
>--- a/src/plugins/yajl/yajl.c >+++ b/src/plugins/yajl/yajl.c >@@ -23,6 +23,10 @@ > ***************************************************************************/ > > >+#ifndef HAVE_KDBCONFIG >+# include "kdbconfig.h" >+#endif >+ > #include "yajl.h" > > #include <kdberrors.h> >@@ -340,7 +344,7 @@ > KeySet *config= elektraPluginGetConfig(handle); > > // ksClear (returned); >- if (keyIsUser(parentKey)) >+ if (!strncmp(keyName(parentKey), "user", 4)) > { > const Key * lookup = ksLookupByName(config, "/user_path", 0); > if (!lookup) >@@ -422,7 +426,7 @@ > return 1; /* success */ > } > >-int elektraYajlSet(Plugin *handle, KeySet *returned, Key *parentKey) >+int elektraYajlSet(Plugin *handle ELEKTRA_UNUSED, KeySet *returned, Key *parentKey) > { > yajl_gen_config conf = { 1, " " }; > yajl_gen g = yajl_gen_alloc(&conf, NULL);
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 429722
:
327578
|
327972
| 327974 |
327976
|
328012