Page 1 of 1

setfileattributes time issue on AROS

Posted: Tue Mar 03, 2015 12:18 am
by ntromans
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.

Re: setfileattributes time issue on AROS

Posted: Wed Mar 04, 2015 7:53 pm
by airsoftsoftwair
Seems to work on OS4 and MorphOS as well... I'll have to try it on AROS and see what's wrong there.

Re: setfileattributes time issue on AROS

Posted: Wed Mar 11, 2015 10:36 pm
by airsoftsoftwair
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.