commit | f1b6ac72293e658bb6e68c5cfd926c405b1b6f34 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 23 21:26:43 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 23 21:26:43 2016 +0100 |
tree | d6013028a0f6cdae4d19bcda1eacebe03a0b53c2 | |
parent | e16e5a9d8d6d3159107541a259c6823ade18fd08 [diff] [blame] |
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().
diff --git a/src/version.c b/src/version.c index a04a948..8d858d1 100644 --- a/src/version.c +++ b/src/version.c
@@ -749,6 +749,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1407, +/**/ 1406, /**/ 1405,