On Tue, Aug 08, 2006 at 08:48:31PM +0200, Bram Moolenaar wrote:
> --- 127,135 ----
> 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 . "'")
> else
> ! call system(a:cmd . " '" . nmt . "'")If the filename itself has single quotes, this will prematurely end the quoting. escape(nmt, "'") should probably be used as well. James -- GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature
