From owner-freebsd-current@FreeBSD.ORG Tue Jul 10 21:27:06 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97D5016A421 for ; Tue, 10 Jul 2007 21:27:06 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE7C13C484 for ; Tue, 10 Jul 2007 21:27:06 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from scott-longs-computer.local (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id l6AL588U093355; Tue, 10 Jul 2007 15:05:08 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4693F47C.2040409@samsco.org> Date: Tue, 10 Jul 2007 15:05:00 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2 MIME-Version: 1.0 To: Ed Schouten References: <20070710205314.GM55449@hoeg.nl> In-Reply-To: <20070710205314.GM55449@hoeg.nl> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Tue, 10 Jul 2007 15:05:08 -0600 (MDT) X-Spam-Status: No, score=-1.4 required=5.5 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: Michiel Boland , FreeBSD Current , peter@freebsd.org Subject: Re: upgrade 6-STABLE to -CURRENT on sparc64 renders box unusable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 10 Jul 2007 21:27:06 -0000 Ed Schouten wrote: > * Michiel Boland wrote: >> --- __getosreldate.c.orig 2007-07-10 22:29:02.000000000 +0200 >> +++ __getosreldate.c 2007-07-10 22:28:20.000000000 +0200 >> @@ -42,13 +42,10 @@ >> int >> __getosreldate(void) >> { >> - static int osreldate; >> + int osreldate; >> size_t len; >> int oid[2]; >> int error, osrel; >> - >> - if (osreldate != 0) >> - return (osreldate); >> >> oid[0] = CTL_KERN; >> oid[1] = KERN_OSRELDATE; > > Isn't the problem solved by just initializing osreldate with zero? > I'm pretty sure that the osreldate should be automatically initialized to zero since it's static. I wonder if this has been broken on sparc64 somehow. Scott