Subject: Re: PR/32462 CVS commit: src/sys
To: None <yamt@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 01/06/2006 12:40:02
The following reply was made to PR kern/32462; it has been noted by GNATS.
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
To: reinoud@netbsd.org
Cc: gnats-bugs@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: PR/32462 CVS commit: src/sys
Date: Fri, 06 Jan 2006 21:38:06 +0900
> > Log Message:
> > initialize necessary members of struct buf. PR/32462 from Reinoud Zandijk.
>
> Might it be a good idea to add this initialisation to BUF_INIT() instead of
> `littering' around? or let getiobuf() to automatically set this to NULL ?
> Then at least at all possible places it is null allready :)
i personally don't like it because it's redundant.
YAMAMOTO Takashi