diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-10-11 20:29:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-10-11 20:29:39 +0000 |
commit | 202795bed4e4ab668e033217d68f41fb7f9cf707 (patch) | |
tree | 72648fed6282680a5629e39a988844cd31842fe8 /src/fileio.c | |
parent | a5fb28b60969dfb6a7ff39c26e7533ceea2a78e9 (diff) | |
download | vim-git-202795bed4e4ab668e033217d68f41fb7f9cf707.tar.gz |
updated for version 7.0156
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index f00e1ea75..f04612d88 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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 */ } } |