mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Don't follow symlink to root directory (issue 0002410
This commit is contained in:
parent
0a7a6f439e
commit
8086e15fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ var
|
|||
AddedIndex: Integer;
|
||||
begin
|
||||
LinkedFilePath := mbReadAllLinks(aFile.FullPath);
|
||||
if LinkedFilePath <> '' then
|
||||
if (LinkedFilePath <> '') and (LinkedFilePath <> PathDelim) then
|
||||
begin
|
||||
try
|
||||
LinkedFile := TFileSystemFileSource.CreateFileFromFile(LinkedFilePath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue