Amiga-C (48/223)

From:Colin Wenzel
Date:11 Aug 2001 at 11:13:52
Subject:[amiga-c] Re: How do I copy clone

On 10-Aug-01, Jack York wrote:
> This works except for SetFileDate. I even tried

> struct DateStamp ds;
> ds.ds_Days = 300; ds.ds_Hour = 0; ds.ds_Tick = 0;
> SetFileDate(target_file, &ds);

> But no matter what I do the written file has the current date and
> time. Any ideas why this may be failing.
> Jack

All DOS structures require LONGWORD alignment,
your compiler only guarantees WORD alignment from storage
classes.

SetFileDate() doesn't work (yet doesn't return fail) on
an SFS filesystems that have not been formatted with NORECYCLED.

Regards



_________________________________________

Colin Wenzel. 157 Brisbane Road,
Mooloolaba, Queensland, Australia. 4557.

PHONE: (07) 5444 5445
EMAIL: colstv@yahoo.com.au
EMAIL2: colinwenzel@yahoo.com
URL: http://www.hotkey.net.au/~colstv/
AMIGA: 4000T, 68060/50, 150Mb RAM,
OS 3.9, Spectrum Gfx Card + P96.

Need an Image Generator For CATV ??
http://connect.to/products
________________________________________

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/