Date: Wed, 31 May 2006 02:37:58 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 98182 for review Message-ID: <200605310237.k4V2bwv1013235@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=98182 Change 98182 by jb@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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605310237.k4V2bwv1013235>