Possible bug with "GetTempFileName()"

Report any Hollywood bugs here
Post Reply
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Possible bug with "GetTempFileName()"

Post by Allanon »

Hello, on AmigaOS3x the function GetTeempFileName()" returns always the same filename : T:hollywood.eaaaaa
I've tested with a compiled executable on WinUAE.

Code: Select all

For i = 1 To 10
    DebugPrint(GetTempFileName())
Next
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
plouf
Posts: 666
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Possible bug with "GetTempFileName()"

Post by plouf »

do you use holywood 10?
to me hollywood 10 in aos3 shows
T:hollywood.A34584
T:hollywood.B34584
T:hollywood.C34584
T:hollywood.D34584
T:hollywood.E34584
T:hollywood.F34584
T:hollywood.G34584
T:hollywood.H34584
T:hollywood.I34584
T:hollywood.J34584
Christos
plouf
Posts: 666
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Possible bug with "GetTempFileName()"

Post by plouf »

ok Bug is with fpu executable and not plain one

also note that compiling with aos3 hollywood compiler produce output always hollywood.aaaaa
while compiling with windows compiler->aos fpu output is always hollywood.baaaa
Christos
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

Re: Possible bug with "GetTempFileName()"

Post by Allanon »

Yes, Hollywood 10 here
Thank you for confirming the problem :)
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Possible bug with "GetTempFileName()"

Post by airsoftsoftwair »

Yes, definitely a bug. Will be fixed.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Possible bug with "GetTempFileName()"

Post by airsoftsoftwair »

Code: Select all

- Fix [OS3fpu/WarpOS]: Temporary file name generator was completely broken and returned the very same file
  name most of the time; this could affect several parts of Hollywood, including the SDK and functions like
  GetTempFileName(); this bug was introduced in Hollywood 6.0 and unfortunately went unnoticed until now
Post Reply