www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/01/00:39:00

From: Charles Sandmann <sandmann AT new-orleans DOT NeoSoft DOT com>
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?


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019