Forget to close file

Submitted by: SANETO Takanori sanewo@strg.sony.co.jp
This commit is contained in:
ache 1995-08-11 08:44:31 +00:00
parent 31f993e53f
commit 431553c00a
2 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,7 @@ setrunelocale(encoding)
fclose(fp);
return(EFTYPE);
}
fclose(fp);
if (!rl->encoding[0] || !strcmp(rl->encoding, "UTF2")) {
return(_UTF2_init(rl));

View File

@ -186,6 +186,7 @@ startup_setrunelocale(encoding)
fclose(fp);
return(EFTYPE);
}
fclose(fp);
if (!rl->encoding[0])
return(EINVAL);