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:
@@ -30,8 +30,9 @@ EXTERN char e_invalid_expression_str[]
|
||||
#endif
|
||||
EXTERN char e_invalid_range[]
|
||||
INIT(= N_("E16: Invalid range"));
|
||||
#if defined(UNIX) || defined(FEAT_SYN_HL) || defined(FEAT_SPELL)
|
||||
EXTERN char e_src_is_directory[]
|
||||
#if defined(UNIX) || defined(FEAT_SYN_HL) \
|
||||
|| defined(FEAT_SPELL) || defined(FEAT_EVAL)
|
||||
EXTERN char e_str_is_directory[]
|
||||
INIT(= N_("E17: \"%s\" is a directory"));
|
||||
#endif
|
||||
#ifdef FEAT_EVAL
|
||||
|
||||
Reference in New Issue
Block a user