diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-03-13 20:50:42 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-03-13 20:50:42 +0100 |
commit | e88608eae24ae5934034e1ecb6c494fefbf1b9ae (patch) | |
tree | c9cbd901b79f338250ab243cc8522682b5da18de /util-linux/volume_id/ocfs2.c | |
parent | 02a2a278f6684f742fe131e1b598ca01cfa240db (diff) | |
download | busybox-e88608eae24ae5934034e1ecb6c494fefbf1b9ae.tar.gz |
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>
Diffstat (limited to 'util-linux/volume_id/ocfs2.c')
0 files changed, 0 insertions, 0 deletions