Merge remote-tracking branch 'vim/master'

This commit is contained in:
Kazuki Sakamoto
2015-10-31 09:15:44 -07:00
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -9946,8 +9946,9 @@ dos_expandpath(
return 0;
}
/* make room for file name */
buf = alloc((int)STRLEN(path) + BASENAMELEN + 5);
/* Make room for file name. When doing encoding conversion the actual
* length may be quite a bit longer, thus use the maximum possible length. */
buf = alloc((int)MAXPATHL);
if (buf == NULL)
return 0;
+2
View File
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
903,
/**/
902,
/**/