mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 10:29:17 +02:00
* fixed "EInOutError : File not found" exception if .rc file not found.
git-svn-id: trunk@7624 -
This commit is contained in:
parent
b998cb1208
commit
eac1c293e4
@ -187,7 +187,7 @@ var
|
|||||||
i: longint;
|
i: longint;
|
||||||
begin
|
begin
|
||||||
Result:=CompareText(ExtractFileExt(fn), target_info.resext) = 0;
|
Result:=CompareText(ExtractFileExt(fn), target_info.resext) = 0;
|
||||||
if Result then exit;
|
if Result or not FileExists(fn, False) then exit;
|
||||||
oldfmode:=Filemode;
|
oldfmode:=Filemode;
|
||||||
Filemode:=0;
|
Filemode:=0;
|
||||||
assign(f,fn);
|
assign(f,fn);
|
||||||
|
Loading…
Reference in New Issue
Block a user