Mercurial > vim
view src/version.h @ 10158:dd0531938cb6 v7.4.2349
commit https://github.com/vim/vim/commit/2321ca2a78286bc026fa7f407281ddbeb04114bb
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 9 14:17:18 2016 +0200
patch 7.4.2349
Problem: Valgrind reports using uninitialzed memory. (Dominique Pelle)
Solution: Check the length before checking for a NUL.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 09 Sep 2016 14:30:08 +0200 |
parents | 4aead6a9b7a9 |
children | 9f48eab77d62 |
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. */ /* * Define the version number, name, etc. * The patchlevel is in included_patches[], in version.c. * * This doesn't use string concatenation, some compilers don't support it. */ #define VIM_VERSION_MAJOR 7 #define VIM_VERSION_MAJOR_STR "7" #define VIM_VERSION_MINOR 4 #define VIM_VERSION_MINOR_STR "4" #define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR) #define VIM_VERSION_BUILD 280 #define VIM_VERSION_BUILD_BCD 0x118 #define VIM_VERSION_BUILD_STR "280" #define VIM_VERSION_PATCHLEVEL 0 #define VIM_VERSION_PATCHLEVEL_STR "0" /* Used by MacOS port should be one of: development, alpha, beta, final */ #define VIM_VERSION_RELEASE final /* * VIM_VERSION_NODOT is used for the runtime directory name. * VIM_VERSION_SHORT is copied into the swap file (max. length is 6 chars). * VIM_VERSION_MEDIUM is used for the startup-screen. * VIM_VERSION_LONG is used for the ":version" command and "Vim -h". */ #define VIM_VERSION_NODOT "vim74" #define VIM_VERSION_SHORT "7.4" #define VIM_VERSION_MEDIUM "7.4" #define VIM_VERSION_LONG "VIM - Vi IMproved 7.4 (2013 Aug 10)" #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.4 (2013 Aug 10, compiled "