Mercurial > vim
comparison src/version.c @ 19693:9fbeb3bdf49e v8.2.0403
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check
Commit: https://github.com/vim/vim/commit/a3a9c8ef697bbf6f640cde99710b6f534f29f77d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 19 12:38:34 2020 +0100
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check
Problem: When 'buftype' is "nofile" there is no overwrite check.
Solution: Also check for existing file when 'buftype' is set.
(closes #5807)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Mar 2020 12:45:04 +0100 |
parents | 60b5abfc4897 |
children | 1697a25328fd |
comparison
equal
deleted
inserted
replaced
19692:95a9cf2b8a40 | 19693:9fbeb3bdf49e |
---|---|
736 NULL | 736 NULL |
737 }; | 737 }; |
738 | 738 |
739 static int included_patches[] = | 739 static int included_patches[] = |
740 { /* Add new patch number below this line */ | 740 { /* Add new patch number below this line */ |
741 /**/ | |
742 403, | |
741 /**/ | 743 /**/ |
742 402, | 744 402, |
743 /**/ | 745 /**/ |
744 401, | 746 401, |
745 /**/ | 747 /**/ |