Forget to close file
Submitted by: SANETO Takanori sanewo@strg.sony.co.jp
This commit is contained in:
parent
72348d41ba
commit
48b9e85079
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10026
@ -86,6 +86,7 @@ setrunelocale(encoding)
|
||||
fclose(fp);
|
||||
return(EFTYPE);
|
||||
}
|
||||
fclose(fp);
|
||||
|
||||
if (!rl->encoding[0] || !strcmp(rl->encoding, "UTF2")) {
|
||||
return(_UTF2_init(rl));
|
||||
|
@ -186,6 +186,7 @@ startup_setrunelocale(encoding)
|
||||
fclose(fp);
|
||||
return(EFTYPE);
|
||||
}
|
||||
fclose(fp);
|
||||
|
||||
if (!rl->encoding[0])
|
||||
return(EINVAL);
|
||||
|
Loading…
Reference in New Issue
Block a user