comparison src/eval.c @ 13310:52fbfc72004d v8.0.1529

patch 8.0.1529: assert_equalfile() does not close file descriptors commit https://github.com/vim/vim/commit/3049418f3dbc571463a04d068069f6c5b7a8ccf1 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 20 21:46:05 2018 +0100 patch 8.0.1529: assert_equalfile() does not close file descriptors Problem: Assert_equalfile() does not close file descriptors. (Coverity) Solution: Close the file descriptors.
author Christian Brabandt <cb@256bit.org>
date Tue, 20 Feb 2018 22:00:05 +0100
parents a88c5e12b860
children 69517d67421f
comparison
equal deleted inserted replaced
13309:c548e4cb6bad 13310:52fbfc72004d
8887 "difference at byte %ld", count); 8887 "difference at byte %ld", count);
8888 break; 8888 break;
8889 } 8889 }
8890 ++count; 8890 ++count;
8891 } 8891 }
8892 fclose(fd1);
8893 fclose(fd2);
8892 } 8894 }
8893 } 8895 }
8894 if (IObuff[0] != NUL) 8896 if (IObuff[0] != NUL)
8895 { 8897 {
8896 prepare_assert_error(&ga); 8898 prepare_assert_error(&ga);