Re: [fpc-pascal] ExtractFilePath and \ as pathdelim

2013-09-03 Thread Reimar Grabowski
On Tue, 03 Sep 2013 00:24:50 +0200 Michalis Kamburelis wrote: > And I really, really wish this would be changed in FPC too... That is, > AllowDirectorySeparators should be ['/'] on Unix, not ['/','\']. > Backslash is a completely normal character in Unix filenames. The > default value of Allow

Re: [fpc-pascal] ExtractFilePath and \ as pathdelim

2013-09-02 Thread Michalis Kamburelis
Mattias Gaertner wrote: Hi all, ExtractFilePath and ExtractFileDir stops at last '/','\', so it treats the normal character \ as path delimiter under Unix. Is there a RTL function that handles the \ as normal character? You can change global AllowDirectorySeparators (http://www.freepascal.o