diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-01-23 15:32:11 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-01-23 15:49:37 +0100 |
commit | 73da522d73c5d686c122ea4482d03e576a6a242c (patch) | |
tree | c1964417c81554ddb1ba212aec74ac532eb0d56d /src/nvim/ex_cmds.c | |
parent | 7c7c5a80a46b38067e8288e1e3ccd2b9c7c73b6e (diff) | |
download | rneovim-73da522d73c5d686c122ea4482d03e576a6a242c.tar.gz rneovim-73da522d73c5d686c122ea4482d03e576a6a242c.tar.bz2 rneovim-73da522d73c5d686c122ea4482d03e576a6a242c.zip |
errors: Introduce "E856: Filename too long"
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 3a551975f3..19d8acd75a 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -4816,7 +4816,7 @@ void fix_help_buffer(void) if (!add_pathsep((char *)NameBuff) || STRLCAT(NameBuff, "doc/*.??[tx]", sizeof(NameBuff)) >= MAXPATHL) { - EMSG(_(e_pathtoolong)); + EMSG(_(e_fnametoolong)); continue; } @@ -4984,7 +4984,7 @@ static void helptags_one(char_u *dir, char_u *ext, char_u *tagfname, if (dirlen >= MAXPATHL || STRLCAT(NameBuff, "/**/*", sizeof(NameBuff)) >= MAXPATHL // NOLINT || STRLCAT(NameBuff, ext, sizeof(NameBuff)) >= MAXPATHL) { - EMSG(_(e_pathtoolong)); + EMSG(_(e_fnametoolong)); return; } @@ -5006,7 +5006,7 @@ static void helptags_one(char_u *dir, char_u *ext, char_u *tagfname, memcpy(NameBuff, dir, dirlen + 1); if (!add_pathsep((char *)NameBuff) || STRLCAT(NameBuff, tagfname, sizeof(NameBuff)) >= MAXPATHL) { - EMSG(_(e_pathtoolong)); + EMSG(_(e_fnametoolong)); return; } fd_tags = mch_fopen((char *)NameBuff, "w"); @@ -5184,7 +5184,7 @@ static void do_helptags(char_u *dirname, bool add_help_tags) STRLCPY(NameBuff, dirname, sizeof(NameBuff)); if (!add_pathsep((char *)NameBuff) || STRLCAT(NameBuff, "**", sizeof(NameBuff)) >= MAXPATHL) { - EMSG(_(e_pathtoolong)); + EMSG(_(e_fnametoolong)); xfree(dirname); return; } |