www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/08/07:03:00

To: Howard Kaikow <kaikow AT standards DOT com>
Cc: corno AT ercole DOT polito DOT it, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: New stat() and fstat() for DJGPP
Date: Thu, 08 Sep 94 11:52:41 +0200
From: eliz AT is DOT elta DOT co DOT il

> If there is no volume label entry, I would suggest that the
> timestamp for the root directory would suffice.

The problem is, you can't get that stamp.  Root directories in DOS
are special because unlike sub-directories they aren't files.  In
fact, DOS FindFirst function (which is used to get time stamp and
other info on files and subdirectories) fails when called on a
root directory.  That's why my code effectively ``invents'' all the
info on root directory.

	Eli Zaretskii

- Raw text -


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