Mercurial > vim
view src/os_qnx.h @ 30061:f4a7831fa352 v9.0.0368
patch 9.0.0368: old Coverity warning for using NULL pointer
Commit: https://github.com/vim/vim/commit/89083466fa565bea22832687ec5fe89a70a3b8f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 3 12:59:19 2022 +0100
patch 9.0.0368: old Coverity warning for using NULL pointer
Problem: Old Coverity warning for using NULL pointer.
Solution: Bail out if dictionary allocation fails.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Sep 2022 14:00: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