File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3365,7 +3365,7 @@ vim_chdirfile(char_u *fname)
33653365 * The Vim code assumes a trailing slash is only ignored for a directory.
33663366 */
33673367 static int
3368- illegal_slash (char * name )
3368+ illegal_slash (const char * name )
33693369{
33703370 if (name [0 ] == NUL )
33713371 return FALSE; /* no file name is not illegal */
@@ -3384,7 +3384,7 @@ vim_stat(const char *name, stat_T *stp)
33843384{
33853385 /* On Solaris stat() accepts "file/" as if it was "file". Return -1 if
33863386 * the name ends in "/" and it's not a directory. */
3387- return illegal_slash (n ) ? -1 : stat (n , p );
3387+ return illegal_slash (name ) ? -1 : stat (name , stp );
33883388}
33893389#endif
33903390
Original file line number Diff line number Diff line change @@ -764,6 +764,8 @@ static char *(features[]) =
764764
765765static int included_patches [] =
766766{ /* Add new patch number below this line */
767+ /**/
768+ 460 ,
767769/**/
768770 459 ,
769771/**/
You can’t perform that action at this time.
0 commit comments