mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 06:39:34 +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;
|
||||
begin
|
||||
Result:=CompareText(ExtractFileExt(fn), target_info.resext) = 0;
|
||||
if Result then exit;
|
||||
if Result or not FileExists(fn, False) then exit;
|
||||
oldfmode:=Filemode;
|
||||
Filemode:=0;
|
||||
assign(f,fn);
|
||||
|
Loading…
Reference in New Issue
Block a user