diff options
author | Eric Andersen | 2004-03-31 11:12:51 +0000 |
---|---|---|
committer | Eric Andersen | 2004-03-31 11:12:51 +0000 |
commit | 90fb65f7a60f70fc2c9d072780378286dee2ee85 (patch) | |
tree | a8db11fbd40193e93129d3ccccdbf70744a9c193 /editors | |
parent | bbbbcfef24ac89f1ac6550a533cbcccf78e779fe (diff) | |
download | busybox-90fb65f7a60f70fc2c9d072780378286dee2ee85.zip busybox-90fb65f7a60f70fc2c9d072780378286dee2ee85.tar.gz |
Patch from Thomas Winkler -- vi -R did not work
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index 28eca75..0ed9edd 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -19,7 +19,7 @@ */ static const char vi_Version[] = - "$Id: vi.c,v 1.34 2004/03/15 08:28:32 andersen Exp $"; + "$Id: vi.c,v 1.35 2004/03/31 11:12:51 andersen Exp $"; /* * To compile for standalone use: @@ -375,6 +375,7 @@ extern int vi_main(int argc, char **argv) #ifdef CONFIG_FEATURE_VI_READONLY case 'R': // Read-only flag readonly = TRUE; + vi_readonly = TRUE; break; #endif /* CONFIG_FEATURE_VI_READONLY */ //case 'r': // recover flag- ignore- we don't use tmp file |