mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 16:40:32 +02:00
LazFileUtils: FileIsReadable on Windows should only return True if the file actually exists.
git-svn-id: trunk@49543 -
This commit is contained in:
parent
f53444d668
commit
8f7215b840
@ -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