Mercurial > vim
view src/proto/termlib.pro @ 2739:2bd574a2ef1c v7.3.146
updated for version 7.3.146
Problem: It's possible to assign to a read-only member of a dict.
It's possible to create a global variable "0". (ZyX)
It's possible to add a v: variable with ":let v:.name = 1".
Solution: Add check for dict item being read-only.
Check the name of g: variables.
Disallow adding v: variables.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 27 Mar 2011 16:03:15 +0200 |
parents | 96cd8222a819 |
children | 21b0a39d13ed |
line wrap: on
line source
/* termlib.c */ int tgetent __ARGS((char *tbuf, char *term)); int tgetflag __ARGS((char *id)); int tgetnum __ARGS((char *id)); char *tgetstr __ARGS((char *id, char **buf)); char *tgoto __ARGS((char *cm, int col, int line)); int tputs __ARGS((char *cp, int affcnt, void (*outc)(unsigned int))); /* vim: set ft=c : */