Mercurial > vim
view src/tee/Make_mvc.mak @ 8346:8fa75a4c39bd v7.4.1465
commit https://github.com/vim/vim/commit/cc7f8be3e0e6c4d902b02052a862e21c3a3fbe22
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 29 22:55:56 2016 +0100
patch 7.4.1465
Problem: Coverity reported possible use of NULL pointer when using buffer
output with JSON mode.
Solution: Make it actually possible to use JSON mode with a buffer.
Re-encode the JSON to append it to the buffer.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 29 Feb 2016 23:00:04 +0100 |
parents | a98b93736894 |
children | 590424e87b65 |
line wrap: on
line source
# A very (if not the most) simplistic Makefile for MSVC CC=cl CFLAGS=/O2 /nologo tee.exe: tee.obj $(CC) $(CFLAGS) /Fo$@ $** tee.obj: tee.c $(CC) $(CFLAGS) /c $** clean: - del tee.obj - del tee.exe