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