From ee4e67aa1fefa7b2e4f8e3249a915bdd4dfd63fe Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 14 May 2014 10:01:42 +0000 Subject: [PATCH] Ehm... no, you can't do that. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4882 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 - src/color.c | 1 - 2 files changed, 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d666499a..3ce987da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,7 +4,6 @@ two-column characters properly. This fixes Savannah bug #31743. * src/nano.c (precalc_multicolorinfo): Improve debugging messages, and remove superfluous assignment (fileptr already equals endptr). - * src/color.c (color_update): Close the libmagic file after use. 2014-05-13 Benno Schulenberg * src/text.c (do_linter): Make an error message somewhat clearer. diff --git a/src/color.c b/src/color.c index 7a53b35d..f064fae1 100644 --- a/src/color.c +++ b/src/color.c @@ -201,7 +201,6 @@ void color_update(void) statusbar(_("magic_file(%s) failed: %s"), openfile->filename, magic_error(cookie)); } - magic_close(cookie); #ifdef DEBUG fprintf(stderr, "Returned magic string is: %s\n", magicstring); #endif