[fpc-pascal] DirectoryExists on FreeBSD , problem

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Oct 26 10:31:22 CEST 2019


On Sat, 26 Oct 2019 00:45:22 +0100
Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:

> On 14/10/2019 7:38 pm, Alexey Tor. wrote:
> >  >Does SysUtils.DirectoryExists work?  
> > 
> > No, the dir name is pure English, so DirectoryExistsUTF8 does the
> > same.  
> 
> :-) There is no such thing as "pure English".

He meant ASCII.

The encoding is not the problem here.

>[...] 
> function fpgDirectoryExists(const ADirectory: TfpgString): Boolean;
> begin
>   Result := DirectoryExists(fpgToOSEncoding(ADirectory));
> end;

If this is SysUtils.DirectoryExists, then fpgui suffer from
the same bug.
We need someone with FreeBSD x86 12.0 knowledge.

> [...]

Mattias


More information about the fpc-pascal mailing list