* charset.c (load_charset_map_from_file): Don't call close after fclose.

This commit is contained in:
Juanma Barranquero 2010-05-18 10:08:33 +02:00
parent 952d5580c9
commit 161e44d119
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-05-18 Juanma Barranquero <lekktu@gmail.com>
* charset.c (load_charset_map_from_file): Don't call close after fclose.
2010-05-18 Glenn Morris <rgm@gnu.org>
* s/gnu-linux.h: Combine two conditionals.

View file

@ -567,7 +567,6 @@ load_charset_map_from_file (charset, mapfile, control_flag)
n_entries++;
}
fclose (fp);
close (fd);
load_charset_map (charset, head, n_entries, control_flag);
SAFE_FREE ();