mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 10:58:16 +02:00
IDE, lazbuild: on Unix change AllowDirectorySeparators to only /. File functions like ExtractFilePath/Name/Dir now ignore backslash \ as directory separator. The lazutils file functions already did that.
git-svn-id: trunk@42608 -
This commit is contained in:
parent
1efc1dff52
commit
2046de2324
@ -143,6 +143,10 @@ end;
|
||||
---------------------------------------------------------------------------}
|
||||
procedure InternalInit;
|
||||
begin
|
||||
// For the Unix file functions only the slash is a directory separator.
|
||||
// The RTL defines AllowDirectorySeparators ['/','\'] for historical reasons.
|
||||
AllowDirectorySeparators:=['/'];
|
||||
|
||||
PrimaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');
|
||||
SecondaryConfigPath:='/etc/lazarus';
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user