Mercurial > vim
view src/os_qnx.h @ 21463:7f36d36f7195 v8.2.1282
patch 8.2.1282: Vim9: crash when using CheckScriptFailure()
Commit: https://github.com/vim/vim/commit/6c4bfe4b31e8c5d3c4809536ab6e4835d50f0f67
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 23 18:26:30 2020 +0200
patch 8.2.1282: Vim9: crash when using CheckScriptFailure()
Problem: Vim9: crash when using CheckScriptFailure() in
Test_vim9script_call_fail_decl().
Solution: Do not decrement the def_functions len unless the function was
newly added.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 23 Jul 2020 18:30:04 +0200 |
parents | 6e3dc2d630c2 |
children |
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. */ #ifdef __QNXNTO__ # include <sys/procmgr.h> #endif #define USE_TMPNAM #define POSIX // Used by pty.c #if defined(FEAT_GUI_PHOTON) extern int is_photon_available; #endif