aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-31 11:12:51 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-31 11:12:51 +0000
commit90fb65f7a60f70fc2c9d072780378286dee2ee85 (patch)
treea8db11fbd40193e93129d3ccccdbf70744a9c193
parentbbbbcfef24ac89f1ac6550a533cbcccf78e779fe (diff)
downloadbusybox-w32-90fb65f7a60f70fc2c9d072780378286dee2ee85.tar.gz
busybox-w32-90fb65f7a60f70fc2c9d072780378286dee2ee85.tar.bz2
busybox-w32-90fb65f7a60f70fc2c9d072780378286dee2ee85.zip
Patch from Thomas Winkler -- vi -R did not work
-rw-r--r--editors/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 28eca754a..0ed9edd6e 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -19,7 +19,7 @@
19 */ 19 */
20 20
21static const char vi_Version[] = 21static const char vi_Version[] =
22 "$Id: vi.c,v 1.34 2004/03/15 08:28:32 andersen Exp $"; 22 "$Id: vi.c,v 1.35 2004/03/31 11:12:51 andersen Exp $";
23 23
24/* 24/*
25 * To compile for standalone use: 25 * To compile for standalone use:
@@ -375,6 +375,7 @@ extern int vi_main(int argc, char **argv)
375#ifdef CONFIG_FEATURE_VI_READONLY 375#ifdef CONFIG_FEATURE_VI_READONLY
376 case 'R': // Read-only flag 376 case 'R': // Read-only flag
377 readonly = TRUE; 377 readonly = TRUE;
378 vi_readonly = TRUE;
378 break; 379 break;
379#endif /* CONFIG_FEATURE_VI_READONLY */ 380#endif /* CONFIG_FEATURE_VI_READONLY */
380 //case 'r': // recover flag- ignore- we don't use tmp file 381 //case 'r': // recover flag- ignore- we don't use tmp file