summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-08-08 17:53:03 +0000
committerBram Moolenaar <Bram@vim.org>2006-08-08 17:53:03 +0000
commitc4c25bfd121c98ac2031507d692489226aa12293 (patch)
tree1661996737d1ec82b9492b013b04111bc491e75d /runtime
parent7085ee750e8b2936e2880e9eacda01264dcda0c2 (diff)
updated for version 7.0-048v7.0.048
Diffstat (limited to 'runtime')
-rw-r--r--runtime/autoload/gzip.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/autoload/gzip.vim b/runtime/autoload/gzip.vim
index f6f7bc41d4..1e119a455a 100644
--- 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