[Lazarus] Release Candidate 1 of Lazarus 1.6
Luca Olivetti
luca at wetron.es
Wed Dec 9 15:08:13 CET 2015
El 09/12/15 a les 13:53, Bart ha escrit:
> On 12/9/15, Luca Olivetti <luca at wetron.es> wrote:
>
>> this isn't a lazarus bug but most probably a problem with fpc:
>> ExpandUnCFileNameUTF8 (which in turns calls SystUtils.ExpandUNCFileName)
>> returns '\' when called with
>
> That's odd, because this is the implementation:
>
> function ExpandUNCFileNameUTF8(const FileName: string): string;
> begin
> Result:=SysUtils.ExpandUNCFileName(Filename);
> end;
Yes, most probably the bug is in fpc, but note that lazarus 1.4.x had
its own implementation instead of relying on sysutils.
I just checked that sysutils.expanduncfilename gives the "correct"
result with fpc2.6.4 and the wrong one with fpc 3.0.0.
OTOH lazarus 1.4.x would resolve the '..', i.e. 'c:\windows\..\' was
translated to 'c:\' (that's what I used it for), while fpc doesn't.
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
More information about the Lazarus
mailing list