commit | 202795bed4e4ab668e033217d68f41fb7f9cf707 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Oct 11 20:29:39 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Oct 11 20:29:39 2005 +0000 |
tree | 72648fed6282680a5629e39a988844cd31842fe8 | |
parent | a5fb28b60969dfb6a7ff39c26e7533ceea2a78e9 [diff] [blame] |
updated for version 7.0156
diff --git a/src/fileio.c b/src/fileio.c index f00e1ea..f04612d 100644 --- a/src/fileio.c +++ b/src/fileio.c
@@ -590,8 +590,11 @@ } 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 */ } }