Mercurial > vim
view src/os_qnx.h @ 15969:9cc42db77a54 v8.1.0990
patch 8.1.0990: floating point exception with "%= 0" and "/= 0"
commit https://github.com/vim/vim/commit/e21c1580b7acb598a6e3c38565434fe5d0e2ad7a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 2 11:57:09 2019 +0100
patch 8.1.0990: floating point exception with "%= 0" and "/= 0"
Problem: Floating point exception with "%= 0" and "/= 0".
Solution: Avoid dividing by zero. (Dominique Pelle, closes https://github.com/vim/vim/issues/4058)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Mar 2019 12:00:06 +0100 |
parents | 4aead6a9b7a9 |
children | 6e3dc2d630c2 |
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