]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2738: extending a list with itself can give wrong result v8.2.2738
authorBram Moolenaar <Bram@vim.org>
Thu, 8 Apr 2021 18:10:10 +0000 (20:10 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 8 Apr 2021 18:10:10 +0000 (20:10 +0200)
commitdcae51facc4d6de1edd62f0242b40972be841103
treecc4ed54ec096b1fb0e036166274d36ea64940990
parentd8db8383926cb8729417d9515cbfaf455dbbd8d1
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)
src/list.c
src/testdir/test_listdict.vim
src/version.c