Mercurial > vim
comparison src/version.c @ 26775:2df40c348c70 v8.2.3916
patch 8.2.3916: no error for passing an invalid line number to append()
Commit: https://github.com/vim/vim/commit/8dac2acd6a79d571ff5409d9c90b4c9e73237eb4
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 27 20:57:06 2021 +0000
patch 8.2.3916: no error for passing an invalid line number to append()
Problem: No error for passing an invalid line number to append().
Solution: In Vim9 script check for a non-negative number. (closes https://github.com/vim/vim/issues/9417)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 22:00:04 +0100 |
parents | 80e134cbee4b |
children | 629e7046ef63 |
comparison
equal
deleted
inserted
replaced
26774:73cedd119ce2 | 26775:2df40c348c70 |
---|---|
747 NULL | 747 NULL |
748 }; | 748 }; |
749 | 749 |
750 static int included_patches[] = | 750 static int included_patches[] = |
751 { /* Add new patch number below this line */ | 751 { /* Add new patch number below this line */ |
752 /**/ | |
753 3916, | |
752 /**/ | 754 /**/ |
753 3915, | 755 3915, |
754 /**/ | 756 /**/ |
755 3914, | 757 3914, |
756 /**/ | 758 /**/ |