🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #35027

Fdatime under Laser C

#35027
From: Ray Bovet
Date: Sun, 13 Nov 1988 03:49
13 lines
1186 bytes
I'm having a terrible time trying to get Fdatime to modify
a file modification time and date stamp using Laser C.  I note
that the ABACUS book reverses the order of the read and write flag
values relative to what Megamax shows but as near as I can tell the
Megamax documentation is correct.  At any rate, I can read the time
and date just fine (and can verify that it matches what I find in the
DTA using FSFIRST - FSNEXT.  However, when I try to write a different
value into the field, I get no complaints but the value doesn't get changed.
It doesn;t seem to matter whether I Fopen the file for read only or for
write first.  Has anyone else succesfully used this call?  If so, could
you please include a brief, functional, code fragment?  Thanks very much!

				Ray
Technical Details
Message-ID: <992@ncar.ucar.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!mailrus!ncar!hao.ucar.edu!bovet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!mailrus!ncar!hao.ucar.edu!bovet
From: bovet@hao.ucar.edu (Ray Bovet)
Newsgroups: comp.sys.atari.st
Subject: Fdatime under Laser C
Keywords: Laser C Megamax Fdatime
Message-ID: <992@ncar.ucar.edu>
Date: 13 Nov 88 03:49:01 GMT
Sender: news@ncar.ucar.edu
Reply-To: bovet@hao.ucar.edu (Ray Bovet)
Organization: High Altitude Observatory/NCAR, Boulder CO
Lines: 13