diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-17 16:49:43 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-17 16:49:43 +0100 |
commit | b0967d587fc420fa02832533d4915c85d1a78c17 (patch) | |
tree | d830a9672bf1204be394d76857e01c058fd3f1ec /src/fileio.c | |
parent | d0232917ced39ff4838665fbcf379d5116a91aa3 (diff) | |
download | vim-git-b0967d587fc420fa02832533d4915c85d1a78c17.tar.gz |
patch 7.4.1116v7.4.1116
Problem: delete(x, 'rf') does not delete files starting with a dot.
Solution: Also delete files starting with a dot.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index f809eb5bc..fdaad20bb 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -7313,7 +7313,7 @@ delete_recursive(char_u *name) if (exp == NULL) return -1; if (gen_expand_wildcards(1, &exp, &file_count, &files, - EW_DIR|EW_FILE|EW_SILENT) == OK) + EW_DIR|EW_FILE|EW_SILENT|EW_ALLLINKS|EW_DODOT) == OK) { for (i = 0; i < file_count; ++i) if (delete_recursive(files[i]) != 0) |