[fpc-pascal] TPath enhancements (Issue #40513): can somebody test with Delphi 12?
Bart
bartjunk64 at gmail.com
Sun Nov 19 12:52:59 CET 2023
On Sun, Nov 19, 2023 at 11:04 AM Sven Barth via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:
> Also: does this depend on the operating system and/or file system? Cause Linux file systems have different invalid characters (usually only slash and NUL) than NTFS or FAT.
Determining FileSystem at runtime, is that even possible?
Adjusting the TPath.HasValidPathChars and TPath.GetInvalidPathChars
functions for *nix maye be rather easy (there laready is non-windows
code in that unit)
ValidateParams may even mean (ATM nobody seems to know) that the
params must represent a valid path (either on it's own or after
concatenation).
--
Bart
More information about the fpc-pascal
mailing list