Path: utzoo!attcan!uunet!mcvax!unido!gmdzi!kloppen From: kloppen@gmdzi.UUCP (Jelske Kloppenburg) Newsgroups: comp.sys.atari.st Subject: Re: Fdatime under Laser C Message-ID: <861@gmdzi.UUCP> Date: 21 Nov 88 08:06:44 GMT References: <1231@atari.UUCP> Organization: GMD, Sankt Augustin, F. R. Germany Lines: 22 From article <1231@atari.UUCP>, by apratt@atari.UUCP (Allan Pratt): > In article <992@ncar.ucar.edu> bovet@hao.ucar.edu (Ray Bovet) writes: >> I'm having a terrible time trying to get Fdatime to modify >> a file modification time and date stamp using Laser C. > > Fdatime had some problems in TOS 1.0 and 1.2 -- it's been changed for > TOS 1.4 to be more sane. I don't remember exactly what the problem was, . . . Just one day before I had to write a copy procedure in MODULA-2 for my project, I read the article concerning Fdatime. So I avoided much trouble. Many thanks. I also found an error in the DaTime PROCEDURE of the TDIModula-2/ST. But the sequence Fcreate, Fwrite, Fdatime, Fclose didn't work. When I do Fcreate, Fwrite, Fclose, Fopen, Fdatime, Fclose then the time and date stamp is as I want it. I am not shure about the TOS Version I have, I think it is 1.3 (german). Without setting the clock, files are created on 6.Feb.1986. Jelske Kloppenburg | kloppenburg@kmx.gmd.dbp.de | kloppen@gmdzi.uucp