Mercurial > vim
view src/os_w32dll.c @ 14113:b75df03789f8 v8.1.0074
patch 8.1.0074: crash when running quickfix tests
commit https://github.com/vim/vim/commit/d6b01a2d3884ee0abe10aad161f584889a496e3f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 18 21:53:28 2018 +0200
patch 8.1.0074: crash when running quickfix tests
Problem: Crash when running quickfix tests.
Solution: Do not alloc a new location list when checking for the reference
to be still valid.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 18 Jun 2018 22:00:08 +0200 |
parents | 4aead6a9b7a9 |
children |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * GUI support by Robert Webb * * 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. */ /* * Windows GUI: main program (DLL) entry point: * * Ron Aaron <ronaharon@yahoo.com> wrote this and the DLL support code. */ #ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN #endif #include <windows.h> BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { return TRUE; }