]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 7.4.1407 v7.4.1407
authorBram Moolenaar <Bram@vim.org>
Tue, 23 Feb 2016 20:26:43 +0000 (21:26 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 23 Feb 2016 20:26:43 +0000 (21:26 +0100)
commitf1b6ac72293e658bb6e68c5cfd926c405b1b6f34
treed6013028a0f6cdae4d19bcda1eacebe03a0b53c2
parente16e5a9d8d6d3159107541a259c6823ade18fd08
patch 7.4.1407
Problem:    json_encode() does not handle NaN and inf properly. (David
            Barnett)
Solution:   For JSON turn them into "null".  For JS use "NaN" and "Infinity".
            Add isnan().
src/eval.c
src/json.c
src/testdir/test_json.vim
src/version.c