]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1955: sort() does not handle large numbers correctly v9.1.1955
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 6 Dec 2025 09:22:07 +0000 (10:22 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 6 Dec 2025 09:22:07 +0000 (10:22 +0100)
commit04794efe12863eb96a489531c299879e6c8d15d4
treea3bfdfb624a122e7d3eabbda6133171020d4d283
parentf4a299700e211a728f0f7398eb8fceaf44165711
patch 9.1.1955: sort() does not handle large numbers correctly

Problem:  sort() does not handle large numbers correctly
          (Igbanam Ogbuluijah)
Solution: Don't truncate the return value of tv_get_number_chk()
          (Yegappan Lakshmanan)

closes: #18868

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/list.c
src/testdir/test_sort.vim
src/version.c