Rif. mod. 95/33. Correzione alla TSystemisamfile::load():

tolto il controllo e la chiamata alla ferror().


git-svn-id: svn://10.65.10.50/trunk@1857 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1995-09-20 09:39:06 +00:00
parent 367fce8a79
commit c7c98364fb

View File

@ -1706,10 +1706,8 @@ int TSystemisamfile::load(const char* from, char fs, char fd, char rs, bool vis,
{
FILE* fl = fopen(from, "r");
int err;
if (fl != NULL)
err = ferror(fl);
else
int err=NOERR;
if (fl == NULL)
{
error_box("Non riesco ad aprire il file %s",from);
return 2;