|
@@ -177,9 +177,6 @@ interface
|
|
Implementation
|
|
Implementation
|
|
|
|
|
|
uses
|
|
uses
|
|
-{$ifdef hasamiga}
|
|
|
|
- exec,
|
|
|
|
-{$endif}
|
|
|
|
{$ifdef hasunix}
|
|
{$ifdef hasunix}
|
|
unix,
|
|
unix,
|
|
{$endif}
|
|
{$endif}
|
|
@@ -634,7 +631,7 @@ Implementation
|
|
if (([cs_asm_extern,cs_asm_leave,cs_link_on_target] * current_settings.globalswitches) = []) then
|
|
if (([cs_asm_extern,cs_asm_leave,cs_link_on_target] * current_settings.globalswitches) = []) then
|
|
begin
|
|
begin
|
|
{ try to have an unique name for the .s file }
|
|
{ try to have an unique name for the .s file }
|
|
- tempFileName:=HexStr(FindTask(nil))+ExtractFileName(AsmFileName);
|
|
|
|
|
|
+ tempFileName:=HexStr(GetProcessID shr 4,7)+ExtractFileName(AsmFileName);
|
|
{$ifndef morphos}
|
|
{$ifndef morphos}
|
|
{ old Amiga RAM: handler only allows filenames up to 30 char }
|
|
{ old Amiga RAM: handler only allows filenames up to 30 char }
|
|
if Length(tempFileName) < 30 then
|
|
if Length(tempFileName) < 30 then
|