Mercurial > vim
changeset 922:652d074e0264 v7.0.048
updated for version 7.0-048
author | vimboss |
---|---|
date | Tue, 08 Aug 2006 17:53:03 +0000 |
parents | cd9471bd8e9e |
children | b31702c473ae |
files | runtime/autoload/gzip.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/autoload/gzip.vim +++ b/runtime/autoload/gzip.vim @@ -1,6 +1,6 @@ " Vim autoload file for editing compressed files. " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2006 Mar 31 +" Last Change: 2006 Jul 19 " These functions are used by the gzip plugin. @@ -127,9 +127,9 @@ fun gzip#write(cmd) let nmt = s:tempname(nm) if rename(nm, nmt) == 0 if exists("b:gzip_comp_arg") - call system(a:cmd . " " . b:gzip_comp_arg . " " . nmt) + call system(a:cmd . " " . b:gzip_comp_arg . " '" . nmt . "'") else - call system(a:cmd . " " . nmt) + call system(a:cmd . " '" . nmt . "'") endif call rename(nmt . "." . expand("<afile>:e"), nm) endif