]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1852: map() returing zero for NULL list is unexpected v8.2.1852
authorBram Moolenaar <Bram@vim.org>
Thu, 15 Oct 2020 20:29:17 +0000 (22:29 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 15 Oct 2020 20:29:17 +0000 (22:29 +0200)
commitffdf8adfa8108d4765fdc68abbd2fe49a4292b25
treeb82cf803d463b30816a79eb8a2d3a401259cf04b
parent27491cd3ef86c10a2b64bcb657f29e1d0fccb183
patch 8.2.1852: map() returing zero for NULL list is unexpected

Problem:    map() returing zero for NULL list is unexpected.
Solution:   Return the empty list. (closes #7133)
src/list.c
src/testdir/test_blob.vim
src/testdir/test_filter_map.vim
src/version.c