Subject: Re: bin/18785: config can read directories
To: None <gnats-bugs@gnats.netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 10/23/2002 19:54:53
> >Synopsis:       config can read directories
>  
> -	if ((yyin = fopen(fname, "r")) == NULL)
> +	if ((yyin = fopen(fname, "rf")) == NULL)

It is a shame (for other reasons) that open() doesn't have
a flag for this.....
(fopen() sets O_NONBLOCK then uses fstat())

	David

-- 
David Laight: david@l8s.co.uk