Skip to content

Commit 2db5c3b

Browse files
committed
patch 7.4.1112
Problem: When using ":next" with an illegal file name no error is reported. Solution: Give an error message.
1 parent f60b796 commit 2db5c3b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/ex_cmds2.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,9 +2147,7 @@ do_arglist(str, what, after)
21472147
i = expand_wildcards(new_ga.ga_len, (char_u **)new_ga.ga_data,
21482148
&exp_count, &exp_files, EW_DIR|EW_FILE|EW_ADDSLASH|EW_NOTFOUND);
21492149
ga_clear(&new_ga);
2150-
if (i == FAIL)
2151-
return FAIL;
2152-
if (exp_count == 0)
2150+
if (i == FAIL || exp_count == 0)
21532151
{
21542152
EMSG(_(e_nomatch));
21552153
return FAIL;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1112,
744746
/**/
745747
1111,
746748
/**/

0 commit comments

Comments
 (0)