changeset 108645:17bd2416862f

* charset.c (load_charset_map_from_file): Don't call close after fclose.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 18 May 2010 10:08:33 +0200
parents 93ce9eec5a2f
children f5b2fcb51f42
files src/ChangeLog src/charset.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue May 18 10:57:27 2010 +0300
+++ b/src/ChangeLog	Tue May 18 10:08:33 2010 +0200
@@ -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.
--- a/src/charset.c	Tue May 18 10:57:27 2010 +0300
+++ b/src/charset.c	Tue May 18 10:08:33 2010 +0200
@@ -567,7 +567,6 @@
       n_entries++;
     }
   fclose (fp);
-  close (fd);
 
   load_charset_map (charset, head, n_entries, control_flag);
   SAFE_FREE ();