0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0156

This commit is contained in:
Bram Moolenaar
2005-10-11 20:29:39 +00:00
parent a5fb28b609
commit 202795bed4
3 changed files with 237 additions and 24098 deletions

View File

@@ -590,8 +590,11 @@ readfile(fname, sfname, from, lines_to_skip, lines_to_read, eap, flags)
}
else
{
filemess(curbuf, sfname,
(char_u *)_("[Permission Denied]"), 0);
filemess(curbuf, sfname, (char_u *)(
# ifdef EFBIG
(errno == EFBIG) ? _("[File too big]") :
# endif
_("[Permission Denied]")), 0);
curbuf->b_p_ro = TRUE; /* must use "w!" now */
}
}