diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-17 15:56:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-17 15:56:34 +0100 |
commit | 43a34f9f74fdce462fa250baab620264c28b6165 (patch) | |
tree | 4626c150935791d87ea175fa662d40b79e4ba634 /src/eval.c | |
parent | 4119cf80e1e534057680f9543e73edf7967c2440 (diff) |
patch 7.4.1114v7.4.1114
Problem: delete() does not work well with symbolic links.
Solution: Recognize symbolik links.
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index fb2cbe79e5..aec1ea9873 100644 --- a/src/eval.c +++ b/src/eval.c @@ -10418,7 +10418,7 @@ f_delete(argvars, rettv) /* delete an empty directory */ rettv->vval.v_number = mch_rmdir(name) == 0 ? 0 : -1; else if (STRCMP(flags, "rf") == 0) - /* delete an directory recursively */ + /* delete a directory recursively */ rettv->vval.v_number = delete_recursive(name); else EMSG2(_(e_invexpr2), flags); |