Patch 8.2.0978
Problem: Leaking memory in termcodes test.
Solution: Set t_8u with set_option_value().
Files: src/term.c
*** ../vim-8.2.0977/src/term.c 2020-06-14 14:34:13.337463441 +0200
--- src/term.c 2020-06-14 15:34:00.866508937 +0200
***************
*** 4690,4696 ****
// Unless the underline RGB color is expected to work, disable "t_8u".
// It does not work for the real Xterm, it resets the background color.
if (term_props[TPR_UNDERLINE_RGB].tpr_status != TPR_YES && *T_8U != NUL)
! T_8U = empty_option;
// Only set 'ttymouse' automatically if it was not set
// by the user already.
--- 4690,4696 ----
// Unless the underline RGB color is expected to work, disable "t_8u".
// It does not work for the real Xterm, it resets the background color.
if (term_props[TPR_UNDERLINE_RGB].tpr_status != TPR_YES && *T_8U != NUL)
! set_option_value((char_u *)"t_8u", 0L, (char_u *)"", 0);
// Only set 'ttymouse' automatically if it was not set
// by the user already.
*** ../vim-8.2.0977/src/version.c 2020-06-14 14:34:13.337463441 +0200
--- src/version.c 2020-06-14 15:35:37.738109790 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 978,
/**/
--
Individualists unite!
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202006141336.05EDaavX848468%40masaka.moolenaar.net.