From owner-freebsd-current@FreeBSD.ORG Tue Apr 1 00:22:22 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B647337B401; Tue, 1 Apr 2003 00:22:22 -0800 (PST) Received: from relay.macomnet.ru (relay.macomnet.ru [195.128.64.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1564143FAF; Tue, 1 Apr 2003 00:22:21 -0800 (PST) (envelope-from maxim@macomnet.ru) Received: from news1.macomnet.ru (news1.macomnet.ru [195.128.64.14]) by relay.macomnet.ru (8.11.6/8.11.6) with ESMTP id h318MGR2373079; Tue, 1 Apr 2003 12:22:16 +0400 (MSD) Date: Tue, 1 Apr 2003 12:22:16 +0400 (MSD) From: Maxim Konovalov To: Scott Carmichael In-Reply-To: <20030401010527.C59610@meriadoc.jobeus.net> Message-ID: <20030401122034.F42286@news1.macomnet.ru> References: <20030331234913.A64602-100000@mail.chesapeake.net> <20030401010527.C59610@meriadoc.jobeus.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: 5.0-Current build failing on libkvm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 08:22:23 -0000 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@macomnet.ru, maxim@FreeBSD.org