Skip to content

Commit c42ea21

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 77b7042 + 7314efd commit c42ea21

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/misc1.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9946,8 +9946,9 @@ dos_expandpath(
99469946
return 0;
99479947
}
99489948

9949-
/* make room for file name */
9950-
buf = alloc((int)STRLEN(path) + BASENAMELEN + 5);
9949+
/* Make room for file name. When doing encoding conversion the actual
9950+
* length may be quite a bit longer, thus use the maximum possible length. */
9951+
buf = alloc((int)MAXPATHL);
99519952
if (buf == NULL)
99529953
return 0;
99539954

src/version.c

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

757757
static int included_patches[] =
758758
{ /* Add new patch number below this line */
759+
/**/
760+
903,
759761
/**/
760762
902,
761763
/**/

0 commit comments

Comments
 (0)