[fpc-devel] Bug in SysUtils.GetTempFileName?

Daniël Mantione daniel.mantione at freepascal.org
Fri Sep 1 22:41:00 CEST 2006



Op Fri, 1 Sep 2006, schreef Sergei Gorelkin:

> DM> There exists a wrapper in rtl/win/sysutils.pp, which is necessary because 
> DM> otherwise a "uses sysutils" would not be enough to use this function. Both 
> DM> the Windows specific and the platform independend one do not use syscall
> DM> and are therefore compatible with each other.
> 
> DM> Daniël
> 
> Ok, now I understand where does the implementation come from. Then the
> bug is caused by missing 'stdcall' modifier in SysGetTempFileName() declaration
> (rtl/win/sysutils.pp, line 79). Could you please add it?

Done, r4527 in trunk.

Daniël


More information about the fpc-devel mailing list