From: Charles Sandmann Subject: Re: stat()/fstat() for DJGPP, v.02 To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) Date: Mon, 31 Oct 1994 19:29:22 -0600 (CST) Cc: turnbull AT shako DOT sk DOT tsukuba DOT ac DOT jp, djgpp AT sun DOT soe DOT clarkson DOT edu Maybe we need to create an RFC list :-) Okay, here is my two cents worth. I think there should be a stat() fstat() library available with maximum compatibility. It probably ought to be default, so unsuspecting/unknowing porters would have an easy time. I also think there should be a way to disable the very time consuming features which a developer may not need, so he could tweek his implmentation for DJGPP. For example, if you know that your code does not use the inode field in stat() fstat() you set a bit in a DJGPP specific global variable. Or maybe you link to a library first which contains a dummy procedure which replaces the one that does the time consuming task. Also correct me if I am wrong, but my book here says the old-style FCB functions can open directories. I haven't tried this; comments?