Mercurial > vim
view src/tee/Makefile @ 26642:7fe649a64777 v8.2.3850
patch 8.2.3850: illegal memory access when displaying a partial
Commit: https://github.com/vim/vim/commit/2de5371a755abd287dab6ff544924715a76d4abe
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 19 11:06:35 2021 +0000
patch 8.2.3850: illegal memory access when displaying a partial
Problem: Illegal memory access when displaying a partial.
Solution: Terminate the string with a NUL. (closes https://github.com/vim/vim/issues/9371)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Dec 2021 12:15:03 +0100 |
parents | c2fbac867d9c |
children | ba9d53c7c509 |
line wrap: on
line source
# A very (if not the most) simplistic Makefile for MS-Windows and OS/2 CC=gcc CFLAGS=-O2 -fno-strength-reduce ifneq (sh.exe, $(SHELL)) DEL = rm -f else DEL = del endif tee.exe: tee.o $(CC) $(CFLAGS) -s -o $@ $< tee.o: tee.c $(CC) $(CFLAGS) -c $< clean: - $(DEL) tee.o - $(DEL) tee.exe