h 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.Director
On 26/10/2019 11:24 am, Graeme Geldenhuys wrote:
> Do you have a mailing list archive link where the topic originated
> from.
No worries, I found it.
Regards,
Graeme
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
>Does SysUtils.DirectoryExists work?
No, the dir name is pure English, so DirectoryExistsUTF8 does the same.
--
Regards,
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
o i wonder, which define freebsd 12 uses??? I
cannot google it easily.
DirectoryExists reads st_mode item.
--
Regards,
Alexey
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
https://github.com/jnr/jnr-posix/issues/126
these guys had found the reason of broken Java code on freebsd 12: they
now detect ABI version and use different struct on freebsd 12. link
shows Github patch to Java "stat" struct.
--
Regar
FPC 3.3.1-r43118 [2019/10/04], on Linux x64, cross compiling to
FreeBSD x64 12.0 (TrueOS).
Smth is broken in DirectoryExistsUTF8() on FreeBSD. After this FPC
update CudaText cannot see that folder (in subdir of home dir, access
rights ok) exists. After removing this check in app, app now
On Mon, 14 Oct 2019 16:07:31 +0300
"Alexey Tor." wrote:
> FPC 3.3.1-r43118 [2019/10/04], on Linux x64, cross compiling to
> FreeBSD x64 12.0 (TrueOS).
> Smth is broken in DirectoryExistsUTF8() on FreeBSD.
Does SysUtils.DirectoryExists work?
> After this FPC
> u
On 14/10/2019 3:40 pm, Karoly Balogh (Charlie/SGR) wrote:
> The structure in question is in rtl/bsd/ostypes.inc.
>
> Sadly I know very little about FreeBSD, and I don't have it in any form,
> and never had it, so I'd pass on attempting to reproduce and fix this.
I'll update
differently, depending on the platform. So you might need to convert the
text to the OS Encoding.
eg: fpGUI uses the following, which all fpGUI based applications use, no
matter what platform they are on.
function fpgDirectoryExists(const ADirectory: TfpgString): Boolean;
begin
Res
sh
(England) can speak it correctly. ;-)
> If this is SysUtils.DirectoryExists, then fpgui suffer from
> the same bug.
Do you have a mailing list archive link where the topic originated from.
In my email client the first message of this thread starts with a quoted
line, so I don't have much co
Hi Alexey,
On Mon, 14 Oct 2019, Alexey Tor. wrote:
> FPC 3.3.1-r43118 [2019/10/04], on Linux x64, cross compiling to
> FreeBSD x64 12.0 (TrueOS).
> Smth is broken in DirectoryExistsUTF8() on FreeBSD. After this FPC
> update CudaText cannot see that folder (in subdir of home dir, acc
11 matches
Mail list logo