Subject: Re: Warning message: Why do I care?
To: None <current-users@netbsd.org>
From: John Franklin <franklin@elfie.org>
List: current-users
Date: 08/01/2002 12:34:07
On Wed, Jul 31, 2002 at 02:18:08PM -0400, gabriel rosenkoetter wrote:
> On Thu, Jul 18, 2002 at 07:13:58PM -0700, Greywolf wrote:
> > Is there a way to disable these warnings?  This level of warning seems
> > over the top to me.  But I'd like other warnings at the same pri.level
> > possibly to come through.
> > 
> > Is there a config/run-time something that I can tweak?
> 
> No, and there shouldn't be. You should be redirecting file
> descriptors 0-2 from/to /dev/null if you don't need them rather than
> closing them.

I disagree.  Too much software treats fd 0-2 as sacred.  I don't think
that open(2) should ever return a fd below 3.  I don't belive this would
break anything.

jf
-- 
John Franklin
franklin@elfie.org
ICBM: 3543'56"N 7853'27"W