mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 10:50:53 +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;
|
function FileIsReadable(const AFilename: string): boolean;
|
||||||
begin
|
begin
|
||||||
Result:=true;
|
Result:=FileExistsUTF8(AFilename);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function FileIsWritable(const AFilename: string): boolean;
|
function FileIsWritable(const AFilename: string): boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user