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:
@@ -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 */
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user