busybox/editors
Denys Vlasenko e88608eae2 vi: don't touch file with :x when modified_count == 0
Along with it, there are other changes

 - Check for uppercase X is removed as the expression will be always false and
   :X itself is another totally different command in standard vim
 - The status line will show number of written lines instead of lines requested
   by the colon command.  This is also how the standard vim is doing, though
   the difference is that '!' has to be explicitly specified in vim to allow
   partial writes

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-03-13 20:50:42 +01:00
..
awk.c awk: fix segfault on for loop syntax error 2016-10-24 02:09:56 +02:00
cmp.c
Config.src Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
diff.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
ed.c
Kbuild.src
patch_bbox.c
patch_toybox.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
patch.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
sed1line.txt
sed_summary.htm
sed.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
vi.c vi: don't touch file with :x when modified_count == 0 2017-03-13 20:50:42 +01:00