]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0625: shellescape() always escapes a newline v8.0.0625
authorBram Moolenaar <Bram@vim.org>
Mon, 5 Jun 2017 16:46:26 +0000 (18:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 5 Jun 2017 16:46:26 +0000 (18:46 +0200)
commit206155280def51160a9d81d983aed639015ffb44
tree1143d17e10d8b407fdabe0ced2a63b4fee28373b
parent6c95fbc9ae64f3a7619070e830f0c35aa4f0ada9
patch 8.0.0625: shellescape() always escapes a newline

Problem:    shellescape() always escapes a newline, which does not work with
            some shells. (Harm te Hennepe)
Solution:   Only escape a newline when the "special" argument is non-zero.
            (Christian Brabandt, closes #1590)
src/evalfunc.c
src/testdir/test_functions.vim
src/version.c