diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-08-11 08:44:31 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-08-11 08:44:31 +0000 |
| commit | 48b9e850794e3a39d78d45c10039aecb5e245b4c (patch) | |
| tree | bfb9d579ba912a0ecc1a887c7bb57b35e5e70344 /lib | |
| parent | 72348d41ba45ebcdac6d604fbf592f7c57aa4181 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libc/locale/rune.c | 1 | ||||
| -rw-r--r-- | lib/libc/locale/startup_setlocale.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/locale/rune.c b/lib/libc/locale/rune.c index 4e15480566f7..8075825bd7fa 100644 --- a/lib/libc/locale/rune.c +++ b/lib/libc/locale/rune.c @@ -86,6 +86,7 @@ setrunelocale(encoding) fclose(fp); return(EFTYPE); } + fclose(fp); if (!rl->encoding[0] || !strcmp(rl->encoding, "UTF2")) { return(_UTF2_init(rl)); diff --git a/lib/libc/locale/startup_setlocale.c b/lib/libc/locale/startup_setlocale.c index 3f6da49c4775..01a677074018 100644 --- a/lib/libc/locale/startup_setlocale.c +++ b/lib/libc/locale/startup_setlocale.c @@ -186,6 +186,7 @@ startup_setrunelocale(encoding) fclose(fp); return(EFTYPE); } + fclose(fp); if (!rl->encoding[0]) return(EINVAL); |
