Evil: add missing fclose(). Suggested by Maxime Villard

SVN revision: 76178
This commit is contained in:
Vincent Torri 2012-09-05 08:31:41 +00:00
parent 70624abbc2
commit 17d424f6db
3 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2012-09-05 Vincent Torri <doursse at users dot sf dot net>
* src/lib/gdtoa/arithchk.c:
add missing fclose().
2012-08-30 Vincent Torri <doursse at users dot sf dot net>
Release Version 1.7.0.
2012-08-28 Vincent Torri <doursse at users dot sf dot net>
* src/lib/evil_util.c:

View File

@ -2,6 +2,7 @@ Evil NEWS - User visible changes.
* Evil 1.7:
** Released August 30th, 2012, by Carsten Haitzler
** Correctly display messages with evil_format_message()
* Evil 1.1:

View File

@ -177,9 +177,15 @@ main()
fprintf(f, "#define NO_LONG_LONG\n");
if (a->kind <= 2 && fzcheck())
fprintf(f, "#define Sudden_Underflow\n");
#ifdef WRITE_ARITH_H /* for Symantec's buggy "make" */
fclose(f);
#endif
return 0;
}
fprintf(f, "/* Unknown arithmetic */\n");
#ifdef WRITE_ARITH_H /* for Symantec's buggy "make" */
fclose(f);
#endif
return 1;
}
#endif /* MINGW_BUILD_GEN */