]> granicus.if.org Git - yasm/commit
Fix crash on Linux due to double-fclose(). The NASM preprocessor was closing
authorPeter Johnson <peter@tortall.net>
Sat, 10 May 2003 20:05:39 +0000 (20:05 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 10 May 2003 20:05:39 +0000 (20:05 -0000)
commite78c4d10b9d77deb880497d8046e24c5f8708640
tree685f9fdfb4d3acf408296900bb3c7687eee4a9f0
parentb6a212e199ca966440a5568c5776b0b155e33442
Fix crash on Linux due to double-fclose().  The NASM preprocessor was closing
the original input file, which was then closed again by the frontend.  Fix
saves the original file passed in and special-checks for it before calling
fclose().

svn path=/trunk/yasm/; revision=951
modules/preprocs/nasm/nasm-pp.c