Date: Wed, 20 Jun 2012 15:15:17 -0600 From: Warner Losh <wlosh@bsdimp.com> To: Colin Percival <cperciva@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Eitan Adler <eadler@freebsd.org>, Bruce Evans <brde@optusnet.com.au> Subject: Re: svn commit: r237286 - head/lib/libc/gen Message-ID: <690DF487-F7CB-421E-B6BC-F7CE6BC0F658@bsdimp.com> In-Reply-To: <4FE1FC23.9000904@freebsd.org> References: <201206200638.q5K6cg7u024024@svn.freebsd.org> <20120621015220.J2636@besplex.bde.org> <4FE1FC23.9000904@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 20, 2012, at 10:36 AM, Colin Percival wrote: > On 06/20/12 09:27, Bruce Evans wrote: >> On Wed, 20 Jun 2012, Eitan Adler wrote: >>> Log: >>> Don't close an uninitialized descriptor. [1] >>> Add a sanity check for the validity of the passed fd. >> >> Library functions shouldn't use assert() or abort(). > > Why not? We've tried to avoid things that make the library dump core... Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?690DF487-F7CB-421E-B6BC-F7CE6BC0F658>