Mercurial > vim
view src/proto/if_tcl.pro @ 16928:aa9c4703a01b v8.1.1465
patch 8.1.1465: allocating wrong amount of memory
commit https://github.com/vim/vim/commit/a37833dbd7d3cb0fff4cbf0ba6e80d0ad55cd4b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 4 22:29:10 2019 +0200
patch 8.1.1465: allocating wrong amount of memory
Problem: Allocating wrong amount of memory. (Yegappan Lakshmanan)
Solution: Use sizeof() for right type of struct.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jun 2019 22:30:06 +0200 |
parents | 21b0a39d13ed |
children | 9a1b96ae26d1 |
line wrap: on
line source
/* if_tcl.c */ void vim_tcl_init(char *arg); int tcl_enabled(int verbose); void tcl_end(void); void ex_tcl(exarg_T *eap); void ex_tclfile(exarg_T *eap); void ex_tcldo(exarg_T *eap); void tcl_buffer_free(buf_T *buf); void tcl_window_free(win_T *win); /* vim: set ft=c : */