Mercurial > vim
view src/os_qnx.h @ 31487:df58407c97f3 v9.0.1076
patch 9.0.1076: ASAN complains about NULL argument
Commit: https://github.com/vim/vim/commit/8efdcee02ed02cf9e51e1757441715c2479757ee
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 19 12:18:09 2022 +0000
patch 9.0.1076: ASAN complains about NULL argument
Problem: ASAN complains about NULL argument.
Solution: Skip memmove() when there is nothing to move.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Dec 2022 13:30:08 +0100 |
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