aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 9b050e115..0f412c362 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -2385,7 +2385,6 @@ static int file_write(char *fn, char *first, char *last)
2385 status_line_bold("No current filename"); 2385 status_line_bold("No current filename");
2386 return -2; 2386 return -2;
2387 } 2387 }
2388 charcnt = 0;
2389 /* By popular request we do not open file with O_TRUNC, 2388 /* By popular request we do not open file with O_TRUNC,
2390 * but instead ftruncate() it _after_ successful write. 2389 * but instead ftruncate() it _after_ successful write.
2391 * Might reduce amount of data lost on power fail etc. 2390 * Might reduce amount of data lost on power fail etc.