mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 21:48:09 +02:00
* return false, if tdosinputfile.fileopen cannot open a file for reading
git-svn-id: trunk@29792 -
This commit is contained in:
parent
cab98a58d0
commit
00d41dc9fa
@ -454,7 +454,7 @@ uses
|
||||
fileopen:=false;
|
||||
try
|
||||
f:=CFileStreamClass.Create(filename,fmOpenRead);
|
||||
fileopen:=true;
|
||||
fileopen:=CStreamError=0;
|
||||
except
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user