Problem: Viminfo file uses obsolete function file_readable().
Solution: Use filereadable(). (closes #5934)
// Lastly, execute the x.vim file if it exists.
if (put_line(fd, "let s:sx = expand(\"<sfile>:p:r\").\"x.vim\"") == FAIL
- || put_line(fd, "if file_readable(s:sx)") == FAIL
+ || put_line(fd, "if filereadable(s:sx)") == FAIL
|| put_line(fd, " exe \"source \" . fnameescape(s:sx)") == FAIL
|| put_line(fd, "endif") == FAIL)
return FAIL;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 584,
/**/
583,
/**/