Mercurial > vim
comparison src/version.c @ 24396:d406858354a6 v8.2.2738
patch 8.2.2738: extending a list with itself can give wrong result
Commit: https://github.com/vim/vim/commit/dcae51facc4d6de1edd62f0242b40972be841103
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 8 20:10:10 2021 +0200
patch 8.2.2738: extending a list with itself can give wrong result
Problem: Extending a list with itself can give wrong result.
Solution: Remember the item before where the insertion happens and skip to
after the already inserted items. (closes #1112)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 08 Apr 2021 20:15:03 +0200 |
parents | 5858745d393a |
children | bed5ec739304 |
comparison
equal
deleted
inserted
replaced
24395:5cd55703c76d | 24396:d406858354a6 |
---|---|
748 NULL | 748 NULL |
749 }; | 749 }; |
750 | 750 |
751 static int included_patches[] = | 751 static int included_patches[] = |
752 { /* Add new patch number below this line */ | 752 { /* Add new patch number below this line */ |
753 /**/ | |
754 2738, | |
753 /**/ | 755 /**/ |
754 2737, | 756 2737, |
755 /**/ | 757 /**/ |
756 2736, | 758 2736, |
757 /**/ | 759 /**/ |