summaryrefslogtreecommitdiff
path: root/rtl/os2/sysutils.pp
diff options
context:
space:
mode:
authorsvenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-08-24 15:33:09 +0000
committersvenbarth <svenbarth@3ad0048d-3df7-0310-abae-a5850022a9f2>2018-08-24 15:33:09 +0000
commit97b1326d7ba603ebc1614f05fae1e606276c4795 (patch)
treedc534fd54c02fc20152daee51c4f6bc3e99e28f7 /rtl/os2/sysutils.pp
parent5f1101b757abfdbe4784bc9b96e3bcc205ef04e5 (diff)
downloadfpc-97b1326d7ba603ebc1614f05fae1e606276c4795.tar.gz
+ add Delphi compatible FollowLink parameter (default is True) to FileExists and DirectoryExists; support for it is up to each target
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@39668 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/os2/sysutils.pp')
-rw-r--r--rtl/os2/sysutils.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtl/os2/sysutils.pp b/rtl/os2/sysutils.pp
index 694d555b47..60d8180338 100644
--- a/rtl/os2/sysutils.pp
+++ b/rtl/os2/sysutils.pp
@@ -228,7 +228,7 @@ begin
end;
-function FileExists (const FileName: RawByteString): boolean;
+function FileExists (const FileName: RawByteString; FollowLink : Boolean): boolean;
var
L: longint;
begin
@@ -515,7 +515,7 @@ begin
end;
-function DirectoryExists (const Directory: RawByteString): boolean;
+function DirectoryExists (const Directory: RawByteString; FollowLink : Boolean): boolean;
var
L: longint;
begin