Mercurial > vim
view src/os_beos.h @ 19114:3856047f2211 v8.2.0117
patch 8.2.0117: crash when using gettabwinvar() with invalid arguments
Commit: https://github.com/vim/vim/commit/ee93b737aaa7bf65edc7281f429dd89fcf657a6f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 14 19:05:39 2020 +0100
patch 8.2.0117: crash when using gettabwinvar() with invalid arguments
Problem: Crash when using gettabwinvar() with invalid arguments. (Yilin
Yang)
Solution: Use "curtab" if "tp" is NULL. (closes #5475)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 14 Jan 2020 19:15:04 +0100 |
parents | 6e3dc2d630c2 |
children |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * BeBox port by Olaf Seibert * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * os_beos.h */ #undef USE_SYSTEM #define USE_THREAD_FOR_INPUT_WITH_TIMEOUT 1 #define USE_TERM_CONSOLE #define HAVE_DROP_FILE #undef BEOS_DR8 #define BEOS_PR_OR_BETTER // select emulation #ifndef PROTO # include <net/socket.h> // for typedefs and #defines only #endif