diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-05-19 21:00:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-05-19 21:00:46 +0000 |
commit | 051b782fa0ed834d7b4f80e5f1540d4d96e5f9d7 (patch) | |
tree | eadaef546274775aaa08c66865db80b33e98abdb /src/os_vms_mms.c | |
parent | 9c13b359b496c5268702776105a9f87b269e84f3 (diff) | |
download | vim-git-051b782fa0ed834d7b4f80e5f1540d4d96e5f9d7.tar.gz |
updated for version 7.0073
Diffstat (limited to 'src/os_vms_mms.c')
-rw-r--r-- | src/os_vms_mms.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_vms_mms.c b/src/os_vms_mms.c index d653860be..4da7b1ad4 100644 --- a/src/os_vms_mms.c +++ b/src/os_vms_mms.c @@ -40,7 +40,8 @@ int main(int argc, char *argv[]) strcat(target, argp); } } - sprintf(cmd, "%s/output=tmp:errors.vim_tmp %s", mms, target); + vim_snprintf(cmd, sizeof(cmd), "%s/output=tmp:errors.vim_tmp %s", + mms, target); system(cmd); fpi = fopen("tmp:errors.vim_tmp", "r"); fpo = fopen(error_file, "w"); |