Mercurial > vim
annotate src/proto/os_vms.pro @ 11649:0f7888a5ba68 v8.0.0707
patch 8.0.0707: freeing wrong memory with certain autocommands
commit https://github.com/vim/vim/commit/f1d13478e3a7e1a86d52552c8c5571f00dc28ad1
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 11 18:28:46 2017 +0200
patch 8.0.0707: freeing wrong memory with certain autocommands
Problem: Freeing wrong memory when manipulating buffers in autocommands.
(James McCoy)
Solution: Also set the w_s pointer if w_buffer was NULL.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 11 Jul 2017 18:30:03 +0200 |
parents | 299f1669c20e |
children | d4b2a8675b78 |
rev | line source |
---|---|
7 | 1 /* os_vms.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
2 void mch_settmode(int tmode); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
3 int mch_get_shellsize(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
4 void mch_set_shellsize(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
5 char_u *mch_getenv(char_u *lognam); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
6 int mch_setenv(char *var, char *value, int x); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
7 int vms_sys(char *cmd, char *out, char *inp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
8 char *vms_tolower(char *name); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
9 int vms_sys_status(int status); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
10 int vms_read(char *inbuf, size_t nbytes); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
11 int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
12 int mch_expandpath(garray_T *gap, char_u *path, int flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
13 void *vms_fixfilename(void *instring); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
6448
diff
changeset
|
14 void vms_remove_version(void *fname); |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
15 int RealWaitForChar(int fd, long msec, int *check_for_gpm, int *interrupted); |
7 | 16 /* vim: set ft=c : */ |