diff options
author | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-28 11:00:02 +0000 |
---|---|---|
committer | graemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf> | 2008-03-28 11:00:02 +0000 |
commit | 803045be7fa3489203eafbb48a61e41c0484c685 (patch) | |
tree | 4be130ed3a4be093e8c65af164462c6508f23f2d /src/corelib/x11 | |
parent | e2457b21a32c02b26504132b14922b60f26aeb48 (diff) | |
download | fpGUI-803045be7fa3489203eafbb48a61e41c0484c685.tar.xz |
* Applied a minor patch from Michael van Canneyt which reduces the calls to readlink in X11 file dialog.
Diffstat (limited to 'src/corelib/x11')
-rw-r--r-- | src/corelib/x11/gfx_x11.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/x11/gfx_x11.pas b/src/corelib/x11/gfx_x11.pas index c648dd9d..67d85e7b 100644 --- a/src/corelib/x11/gfx_x11.pas +++ b/src/corelib/x11/gfx_x11.pas @@ -2237,8 +2237,8 @@ begin if Assigned(Result) then begin fullname := DirectoryName + Result.Name; - Result.IsLink := FileIsSymlink(fullname); Result.LinkTarget := ExtractTargetSymLinkPath(fullname); + Result.IsLink:=(Result.LinkTarget<>''); Result.mode := sr.Mode; Fpstat(PChar(fullname), info); Result.GroupID := info.st_gid; |