5.0-Current build failing on libkvm
Maxim Konovalov
maxim at macomnet.ru
Tue Apr 1 00:22:23 PST 2003
On 01:07-0700, Apr 1, 2003, Scott Carmichael wrote:
> Sigh... It seems that there's a lot of problems in -current right now.
> First there was a double-line comment problem with a .h file, seems fixed
> now, but then there's also an ununsed var in sys/kern/kern_sig.c (line
> 184), which I fixed and am trying to compile again... for the 3rd time.
>
> Someone wanna get that one in CVS?
"quick and dirty"
Index: sys/kern/kern_sig.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/kern_sig.c,v
retrieving revision 1.221
diff -u -r1.221 kern_sig.c
--- sys/kern/kern_sig.c 31 Mar 2003 23:30:41 -0000 1.221
+++ sys/kern/kern_sig.c 1 Apr 2003 08:15:12 -0000
@@ -181,10 +181,12 @@
int
cursig(struct thread *td)
{
+#ifdef INVARIANTS
struct proc *p = td->td_proc;
PROC_LOCK_ASSERT(p, MA_OWNED);
mtx_assert(&sched_lock, MA_NOTOWNED);
+#endif
return (SIGPENDING(td) ? issignal(td) : 0);
}
%%%
--
Maxim Konovalov, maxim at macomnet.ru, maxim at FreeBSD.org
More information about the freebsd-questions
mailing list