Mercurial > vim
view src/proto/os_vms.pro @ 8759:cc2ef7367643 v7.4.1668
commit https://github.com/vim/vim/commit/ee1f7b3cb71684aaa9bf457e2caf9d02187e6b7c
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 28 14:42:14 2016 +0200
patch 7.4.1668
Problem: channel_get_all() does multiple allocations.
Solution: Compute the size and allocate once.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Mar 2016 14:45:04 +0200 |
parents | 21b0a39d13ed |
children | 299f1669c20e |
line wrap: on
line source
/* os_vms.c */ void mch_settmode(int tmode); int mch_get_shellsize(void); void mch_set_shellsize(void); char_u *mch_getenv(char_u *lognam); int mch_setenv(char *var, char *value, int x); int vms_sys(char *cmd, char *out, char *inp); char *vms_tolower(char *name); int vms_sys_status(int status); int vms_read(char *inbuf, size_t nbytes); int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags); int mch_expandpath(garray_T *gap, char_u *path, int flags); void *vms_fixfilename(void *instring); void vms_remove_version(void *fname); int RealWaitForChar(int fd, long msec, int *check_for_gpm); /* vim: set ft=c : */