mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
docs: Remove VAX remnants
This commit is contained in:
parent
3969823759
commit
33b459b672
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user