forked from aniani/vim
patch 8.2.4653: "import autoload" does not check the file name
Problem: "import autoload" does not check the file name. Solution: Give an error if the file is not readable. (closes #10049)
This commit is contained in:
@@ -5,6 +5,7 @@ void f_chdir(typval_T *argvars, typval_T *rettv);
|
||||
void f_delete(typval_T *argvars, typval_T *rettv);
|
||||
void f_executable(typval_T *argvars, typval_T *rettv);
|
||||
void f_exepath(typval_T *argvars, typval_T *rettv);
|
||||
int file_is_readable(char_u *fname);
|
||||
void f_filereadable(typval_T *argvars, typval_T *rettv);
|
||||
void f_filewritable(typval_T *argvars, typval_T *rettv);
|
||||
void f_finddir(typval_T *argvars, typval_T *rettv);
|
||||
|
||||
Reference in New Issue
Block a user