PERFORCE change 98182 for review

John Birrell jb at FreeBSD.org
Tue May 30 19:39:19 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=98182

Change 98182 by jb at jb_freebsd2 on 2006/05/31 02:37:48

	Comment out a couple off asserts on FreeBSD because the statements need
	non-standard functions that we can put in current's libpthread, but
	which cause problems upgrading from RELENG_6.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/getdata.c#3 edit

Differences ...

==== //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/getdata.c#3 (text) ====

@@ -127,8 +127,10 @@
 	Elf_Data	src;
 	unsigned	work;
 
+#if defined(sun)
 	assert(!elf_threaded || RW_LOCK_HELD(&(scn->s_elf->ed_rwlock)));
 	assert(!elf_threaded || MUTEX_HELD(&(scn->s_mutex)));
+#endif
 	elf = scn->s_elf;
 
 	if ((scn->s_myflags & SF_READY) == 0) {


More information about the p4-projects mailing list