0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.2-081

This commit is contained in:
Bram Moolenaar
2009-01-13 15:38:37 +00:00
parent 0f6c9487b7
commit c937213e08
2 changed files with 9 additions and 1 deletions

View File

@@ -4556,7 +4556,13 @@ vim_snprintf(str, str_m, fmt, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
remove_trailing_zeroes = TRUE;
}
if (fmt_spec == 'f' && abs_f > 1.0e307)
if (fmt_spec == 'f' &&
#ifdef VAX
abs_f > 1.0e38
#else
abs_f > 1.0e307
#endif
)
{
/* Avoid a buffer overflow */
strcpy(tmp, "inf");

View File

@@ -676,6 +676,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
81,
/**/
80,
/**/