vi: make status line less confusing when we open non-readable files,
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 14 Jul 2007 22:43:10 +0000 (22:43 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 14 Jul 2007 22:43:10 +0000 (22:43 -0000)
commit59a1f3045073c92c661035f87bdf7e28099358eb
treed69a4bcc1059e2bf9ed2e6bb59d26d408a16fac1
parentfb79a2e2cfe33002398f1898c26d8e4f341db006
vi: make status line less confusing when we open non-readable files,
require rood to use w! when saving non-writable files.
Patch by Natanael Copa <natanael.copa@gmail.com>

update_ro_status                                       -      73     +73
edit_file                                            819     822      +3
colon                                               3440    3425     -15
.rodata                                           128090  128058     -32
file_insert                                          288     235     -53
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/3 up/down: 76/-100)           Total: -24 bytes
   text    data     bss     dec     hex filename
 673344    2740   13968  690052   a8784 busybox_old
 673320    2740   13968  690028   a876c busybox_unstripped
editors/vi.c