comparison src/proto/fileio.pro @ 16752:e2d8d83e6721 v8.1.1378

patch 8.1.1378: delete() can not handle a file name that looks like a pattern commit https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 24 14:14:14 2019 +0200 patch 8.1.1378: delete() can not handle a file name that looks like a pattern Problem: Delete() can not handle a file name that looks like a pattern. Solution: Use readdir() instead of appending "/*" and expanding wildcards. (Ken Takata, closes #4424, closes #696)
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 May 2019 14:15:04 +0200
parents 734b1928a5aa
children 0f7ae8010787
comparison
equal deleted inserted replaced
16751:29ae90e9f16a 16752:e2d8d83e6721
22 int check_timestamps(int focus); 22 int check_timestamps(int focus);
23 int buf_check_timestamp(buf_T *buf, int focus); 23 int buf_check_timestamp(buf_T *buf, int focus);
24 void buf_reload(buf_T *buf, int orig_mode); 24 void buf_reload(buf_T *buf, int orig_mode);
25 void buf_store_time(buf_T *buf, stat_T *st, char_u *fname); 25 void buf_store_time(buf_T *buf, stat_T *st, char_u *fname);
26 void write_lnum_adjust(linenr_T offset); 26 void write_lnum_adjust(linenr_T offset);
27 int readdir_core(garray_T *gap, char_u *path, void *context, int (*checkitem)(void *context, char_u *name));
27 int delete_recursive(char_u *name); 28 int delete_recursive(char_u *name);
28 void vim_deltempdir(void); 29 void vim_deltempdir(void);
29 char_u *vim_tempname(int extra_char, int keep); 30 char_u *vim_tempname(int extra_char, int keep);
30 void forward_slash(char_u *fname); 31 void forward_slash(char_u *fname);
31 int match_file_pat(char_u *pattern, regprog_T **prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs); 32 int match_file_pat(char_u *pattern, regprog_T **prog, char_u *fname, char_u *sfname, char_u *tail, int allow_dirs);