svn rev #23144: trunk/src/

raeburn@MIT.EDU raeburn at MIT.EDU
Mon Nov 9 01:13:34 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23144
Commit By: raeburn
Log Message:
ticket: 6579
target_version: 1.7.1
tags: pullup
subject: quoting bug causes solaris pre-10 thread handling bugs

Quoting problems in pattern matching on the OS name cause Solaris
versions up through 9 to not be properly recognized in the
thread-system configuration setup.  This causes our libraries to make
the erroneous assumption that valid thread support routines are
available on all Solaris systems, rather than just assuming it for
Solaris 10 and later.

The result is assertion failures like this one reported by Meraj
Mohammed and others:

  Assertion failed: k5int_i->did_run != 0, file krb5_libinit.c, line 63

Thanks to Tom Shaw for noticing the cause of the problem.

The bug may be present in the 1.6.x series as well.


Changed Files:
U   trunk/src/aclocal.m4
Modified: trunk/src/aclocal.m4
===================================================================
--- trunk/src/aclocal.m4	2009-11-08 16:13:26 UTC (rev 23143)
+++ trunk/src/aclocal.m4	2009-11-09 06:13:34 UTC (rev 23144)
@@ -205,7 +205,9 @@
       # don't exclude CFLAGS when linking.  *sigh*
       PTHREAD_CFLAGS="-D_REENTRANT -D_THREAD_SAFE -D_POSIX_C_SOURCE=199506L"
       ;;
+changequote(<<,>>)
     solaris2.[1-9])
+changequote([,])
       # On Solaris 10 with gcc 3.4.3, the autoconf archive macro doesn't
       # get the right result.   XXX What about Solaris 9 and earlier?
       if test "$GCC" = yes ; then




More information about the cvs-krb5 mailing list