Mercurial > vim
comparison src/version.c @ 8228:a0e552c51c34 v7.4.1407
commit https://github.com/vim/vim/commit/f1b6ac72293e658bb6e68c5cfd926c405b1b6f34
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 23 21:26:43 2016 +0100
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().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Feb 2016 21:30:08 +0100 |
parents | cb0edf7bd0a4 |
children | 51ca0cee512e |
comparison
equal
deleted
inserted
replaced
8227:f26bb0f9a8b9 | 8228:a0e552c51c34 |
---|---|
746 NULL | 746 NULL |
747 }; | 747 }; |
748 | 748 |
749 static int included_patches[] = | 749 static int included_patches[] = |
750 { /* Add new patch number below this line */ | 750 { /* Add new patch number below this line */ |
751 /**/ | |
752 1407, | |
751 /**/ | 753 /**/ |
752 1406, | 754 1406, |
753 /**/ | 755 /**/ |
754 1405, | 756 1405, |
755 /**/ | 757 /**/ |