Mercurial > vim
view src/vimio.h @ 19233:04c164c971a3 v8.2.0175
patch 8.2.0175: crash when removing list element in map()
Commit: https://github.com/vim/vim/commit/db661fb95dc41b7a9438cf3cd4e77f8410bc81c0
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 29 22:17:16 2020 +0100
patch 8.2.0175: crash when removing list element in map()
Problem: Crash when removing list element in map().
Solution: Lock the list. (closes https://github.com/vim/vim/issues/2652)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 29 Jan 2020 22:30:04 +0100 |
parents | 6e3dc2d630c2 |
children | 1cae476a7c82 |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. */ // Visual Studio 2005 has 'deprecated' many of the standard CRT functions #if _MSC_VER >= 1400 # define _CRT_SECURE_NO_DEPRECATE # define _CRT_NONSTDC_NO_DEPRECATE #endif // cproto fails on missing include files #ifndef PROTO # include <io.h> #endif