Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2007 07:27:03 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Ed Schouten <ed@fxq.nl>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: upgrade 6-STABLE to -CURRENT on sparc64 renders box unusable
Message-ID:  <20070710212703.GS3434@turion.vk2pj.dyndns.org>
In-Reply-To: <20070710205314.GM55449@hoeg.nl>
References:  <Pine.GSO.4.64.0707101403490.13827@neerbosch.nijmegen.internl.net> <Pine.GSO.4.64.0707101824231.15001@neerbosch.nijmegen.internl.net> <Pine.GSO.4.64.0707102211410.4947@neerbosch.nijmegen.internl.net> <20070710205314.GM55449@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--aZoGpuMECXJckB41
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-Jul-10 22:53:14 +0200, Ed Schouten <ed@fxq.nl> wrote:
>* Michiel Boland <michiel@boland.org> 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;
>Isn't the problem solved by just initializing osreldate with zero?

C standard says static variables are initialised to zero.

--=20
Peter Jeremy

--aZoGpuMECXJckB41
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGk/mn/opHv/APuIcRAv0CAJsGv3zWi+3oL9YbCy/aCLIdaaeN+ACgm/V2
ZntXrcpjgZ+KLtJ4uQMHEno=
=1+vs
-----END PGP SIGNATURE-----

--aZoGpuMECXJckB41--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070710212703.GS3434>