Ticket #46701: patch-void_unsetenv_PPC_Tiger.diff
File patch-void_unsetenv_PPC_Tiger.diff, 602 bytes (added by ballapete (Peter "Pete" Dyballa), 10 years ago) |
---|
-
clients/ksu/main.c
old new 815 815 816 816 *target_out = NULL; 817 817 818 if (unsetenv(KRB5_ENV_CCNAME) != 0) { 819 retval = errno; 820 com_err(prog_name, retval, _("while clearing the value of %s"), 821 KRB5_ENV_CCNAME); 822 return retval; 823 } 818 /* On PPC Tiger unsetenv is a void(), nothing to compare. */ 819 unsetenv(KRB5_ENV_CCNAME); 824 820 825 821 /* Make sure we don't have a cached value for a different uid. */ 826 822 retval = krb5_cc_set_default_name(context, NULL);