Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 130701790bf2d95e902edf16031ff596 > files > 227

autofs-5.0.1-0.rc2.164.el5_8.src.rpm

diff -up autofs-5.0.1/daemon/automount.c.cleanup-krb5-comment autofs-5.0.1/daemon/automount.c
--- autofs-5.0.1/daemon/automount.c.cleanup-krb5-comment	2007-10-18 21:29:41.000000000 +0800
+++ autofs-5.0.1/daemon/automount.c	2007-10-18 21:32:49.000000000 +0800
@@ -1242,22 +1242,6 @@ void *handle_mounts(void *arg)
 	}
 
 	pthread_cleanup_pop(1);
-
-	/*
-	 * A cowboy .. me!
-	 * That noise yu ear aint spuurs sonny!!
-	 *
-	 * The libkrb5support destructor called indirectly through
-	 * libgssapi_krb5 which is used bt libkrb5 (somehow) must run
-	 * to completion before the last thread using it exits so
-	 * that it's per thread data keys are deleted or we get a
-	 * little segfault at exit. So much for dlclose being
-	 * syncronous.
-	 *
-	 * So, the solution is a recipe for disaster.
-	 * Hope we don't get a really busy system!
-	 */
-	/*sleep(1);*/
 	sched_yield();
 
 	return NULL;