Mercurial > vim
view src/GvimExt/Make_bc5.mak @ 10865:1a18c0f93ffa v8.0.0322
patch 8.0.0322: possible overflow with corrupted spell file
commit https://github.com/vim/vim/commit/399c297aa93afe2c0a39e2a1b3f972aebba44c9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 9 21:07:12 2017 +0100
patch 8.0.0322: possible overflow with corrupted spell file
Problem: Possible overflow with spell file where the tree length is
corrupted.
Solution: Check for an invalid length (suggested by shqking)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Feb 2017 21:15:04 +0100 |
parents | 4e2284e71352 |
children |
line wrap: on
line source
### USEDLL no for statically linked version of run-time, yes for DLL runtime ### BOR path to root of Borland C install (c:\bc5) ### (requires cc3250.dll be available in %PATH%) !if ("$(USEDLL)"=="") USEDLL = no !endif ### BOR: root of the BC installation !if ("$(BOR)"=="") BOR = c:\bc5 !endif CC = $(BOR)\bin\Bcc32 BRC = $(BOR)\bin\brc32 LINK = $(BOR)\BIN\ILink32 INCLUDE = $(BOR)\include;. LIB = $(BOR)\lib !if ("$(USEDLL)"=="yes") RT_DEF = -D_RTLDLL RT_LIB = cw32i.lib !else RT_DEF = RT_LIB = cw32.lib !endif all : gvimext.dll gvimext.obj : gvimext.cpp gvimext.h $(CC) -tWD -I$(INCLUDE) -c -DFEAT_GETTEXT $(RT_DEF) -w- gvimext.cpp gvimext.res : gvimext.rc $(BRC) -r gvimext.rc gvimext.dll : gvimext.obj gvimext.res $(LINK) -L$(LIB) -aa gvimext.obj, gvimext.dll, , c0d32.obj $(RT_LIB) import32.lib, gvimext.def, gvimext.res clean : -@del gvimext.obj -@del gvimext.res -@del gvimext.dll