mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 21:41:01 +02:00
Merged revision(s) 49543 #8f7215b840 from trunk:
LazFileUtils: FileIsReadable on Windows should only return True if the file actually exists. ........ git-svn-id: branches/fixes_1_4@49558 -
This commit is contained in:
parent
dfcd7440d2
commit
2e38b8eedd
@ -1045,7 +1045,7 @@ end;
|
||||
|
||||
function FileIsReadable(const AFilename: string): boolean;
|
||||
begin
|
||||
Result:=true;
|
||||
Result:=FileExistsUTF8(AFilename);
|
||||
end;
|
||||
|
||||
function FileIsWritable(const AFilename: string): boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user