comparison src/fileio.c @ 550:74c2ea3c3081

updated for version 7.0156
author vimboss
date Tue, 11 Oct 2005 20:29:39 +0000
parents 2df7f3a5eb96
children 862863033fdd
comparison
equal deleted inserted replaced
549:e9ddb2181f06 550:74c2ea3c3081
588 #endif 588 #endif
589 return OK; /* a new file is not an error */ 589 return OK; /* a new file is not an error */
590 } 590 }
591 else 591 else
592 { 592 {
593 filemess(curbuf, sfname, 593 filemess(curbuf, sfname, (char_u *)(
594 (char_u *)_("[Permission Denied]"), 0); 594 # ifdef EFBIG
595 (errno == EFBIG) ? _("[File too big]") :
596 # endif
597 _("[Permission Denied]")), 0);
595 curbuf->b_p_ro = TRUE; /* must use "w!" now */ 598 curbuf->b_p_ro = TRUE; /* must use "w!" now */
596 } 599 }
597 } 600 }
598 601
599 return FAIL; 602 return FAIL;