mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
docs: Remove VAX remnants
This commit is contained in:
@@ -3624,13 +3624,7 @@ int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs)
|
|||||||
remove_trailing_zeroes = TRUE;
|
remove_trailing_zeroes = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fmt_spec == 'f' &&
|
if (fmt_spec == 'f' && abs_f > 1.0e307) {
|
||||||
#ifdef VAX
|
|
||||||
abs_f > 1.0e38
|
|
||||||
#else
|
|
||||||
abs_f > 1.0e307
|
|
||||||
#endif
|
|
||||||
) {
|
|
||||||
/* Avoid a buffer overflow */
|
/* Avoid a buffer overflow */
|
||||||
strcpy(tmp, "inf");
|
strcpy(tmp, "inf");
|
||||||
str_arg_l = 3;
|
str_arg_l = 3;
|
||||||
|
Reference in New Issue
Block a user