b:, w: and t: become invalid after closing buffer/window/tabpage.

Steps to reproduce:
  $ vim -u NONE
  :let x = [b:, w:, t:]
  :tabnew
  :1bwipeout
  :echo x
  SEGV
  (or [{}, {}, {}] is shown.  "vim -g" seems rather easy to reproduce crash)

I wrote patch for this problem.
Please check the attached patch.
Changed b_vars, w_vars and tp_vars to dict_T* from dict_T.

-- 
Yukihiro Nakadaira - [email protected]

-- 
-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Attachment: bwtvars.diff
Description: Binary data

Raspunde prin e-mail lui