> >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