Mercurial > vim
view src/os_qnx.h @ 28637:5cf6dee0f305 v8.2.4842
patch 8.2.4842: expand("%:p") is not empty when there is no buffer name
Commit: https://github.com/vim/vim/commit/211a5bb2353c66684f38527184a258921f95c9d9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 28 19:09:03 2022 +0100
patch 8.2.4842: expand("%:p") is not empty when there is no buffer name
Problem: expand("%:p") is not empty when there is no buffer name.
Solution: When ignoring errors still return NULL. (closes https://github.com/vim/vim/issues/10311)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Apr 2022 20:15:03 +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