all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 13e49c2789035d16651e7604ec1aa8d7c908f6b3 724 bytes (raw)
name: packages/patches/mit-krb5-init-fix.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
Fix the early context initialization code to avoid assuming that
arguments will be evaluated from right to left.

Patch by Mark H Weaver <mhw@netris.org>.

--- src/lib/krb5/krb/t_cc_config.c.orig	2012-12-17 21:47:05.000000000 -0500
+++ src/lib/krb5/krb/t_cc_config.c	2013-10-29 18:19:16.547994590 -0400
@@ -117,8 +117,8 @@
     int c;
     unsigned int i;
 
-    bail_on_err(context, "Error initializing Kerberos library",
-                krb5_init_context(&context));
+    ret = krb5_init_context(&context);
+    bail_on_err(context, "Error initializing Kerberos library", ret);
     bail_on_err(context, "Error getting location of default ccache",
                 krb5_cc_default(context, &ccache));
     server = NULL;

debug log:

solving 13e49c2789035d16651e7604ec1aa8d7c908f6b3 ...
found 13e49c2789035d16651e7604ec1aa8d7c908f6b3 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.