upgrade 6-STABLE to -CURRENT on sparc64 renders box unusable

Peter Jeremy peterjeremy at optushome.com.au
Tue Jul 10 21:27:06 UTC 2007


On 2007-Jul-10 22:53:14 +0200, Ed Schouten <ed at fxq.nl> wrote:
>* Michiel Boland <michiel at 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.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070710/374ea8cd/attachment.pgp


More information about the freebsd-current mailing list