aboutsummaryrefslogtreecommitdiff
path: root/loginutils/vlock.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-03-13 20:50:42 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-03-13 20:50:42 +0100
commite88608eae24ae5934034e1ecb6c494fefbf1b9ae (patch)
treec9cbd901b79f338250ab243cc8522682b5da18de /loginutils/vlock.c
parent02a2a278f6684f742fe131e1b598ca01cfa240db (diff)
downloadbusybox-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 'loginutils/vlock.c')
0 files changed, 0 insertions, 0 deletions