Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 1997 17:37:33 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        hackers@FreeBSD.ORG
Cc:        core@FreeBSD.ORG
Subject:   Re: Variable initialization
Message-ID:  <19970519173733.JP59532@uriah.heep.sax.de>
In-Reply-To: <199705191347.VAA22545@spinner.DIALix.COM>; from Peter Wemm on May 19, 1997 21:47:17 %2B0800
References:  <199705191148.NAA04574@labinfo.iet.unipi.it> <199705191347.VAA22545@spinner.DIALix.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
As Peter Wemm wrote:

> This doesn't bother me, but the following example does:
> 
> int s = splnet();
> struct inpcb *pcb = sotoinpcb(so);

Point taken.  Then, we should change the wording to explicitly mention
that function calls as initializers are a no-go.  This will be
understandable for most people.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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