Executing the following code on AROS gives an error message 'Invalid date format specification!'
table = {}
table = getfileattributes("test.hws")
debugprint(table.time)
setfileattributes("test.hws",table)
The example code for setfileattributes in the docs also fails. The getfileattributes works fine (correct time string returned). The code works on AmigaOS3. I don't know if this is a specific issue for Hollywood 6 as this is the first time I've used this function.
Cheers,
Nigel.
setfileattributes time issue on AROS
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: setfileattributes time issue on AROS
Seems to work on OS4 and MorphOS as well... I'll have to try it on AROS and see what's wrong there.
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: setfileattributes time issue on AROS
Ok, this is indeed a bug but only in the AROS builds. It has been there in all previous Hollywood versions as well. Fixed now, thanks for the report.