commit | 2c8c681bfcd5138a0ec8ce018216dc2dc69a11a0 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 28 17:07:52 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 28 17:07:52 2018 +0200 |
tree | 8bacefb197e9c6267098c338013d445d0503b8ca | |
parent | 95e51470f10e1ddcc4b2ce53e4f7ff7aa2e58417 [diff] [blame] |
patch 8.1.0219: expanding ## fails to escape backtick Problem: Expanding ## fails to escape backtick. Solution: Escape a backtick in a file name. (closes #3257)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 4c653ff..54fb6ab 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -10954,7 +10954,7 @@ #ifndef BACKSLASH_IN_FILENAME || *p == '\\' #endif - ) + || *p == '`') { /* insert a backslash */ if (retval != NULL)