Love Hörnquist Åstrand
Thu, 08 Feb 2007 22:23:02 -0800
8 feb 2007 kl. 16.14 skrev Michael B Allen:
Please consider the below patch. This will cause krb5_cc_set_default_nameto be called if KRB5CCNAME changes at all. It assumes getenv returns the same address but if it does not the code is at least correct.
Shouldn't all inputs that changes the default name affect the "probe function"
Right now that is KRB5CCNAME and uid of the process. Also, if you use a static variable, you need to use a pthread mutex. In this case I don't think it would matter much, but better be safe. Love