Mercurial > vim
view src/xxd/Makefile @ 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 | 3fc0f57ecb91 |
children | 941f7dc1c7dd |
line wrap: on
line source
# The most simplistic Makefile xxd: xxd.c $(CC) $(CFLAGS) $(LDFLAGS) -DUNIX -o xxd xxd.c clean: rm -f xxd xxd.o