projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbbbcfe
)
Patch from Thomas Winkler -- vi -R did not work
author
Eric Andersen
<andersen@codepoet.org>
Wed, 31 Mar 2004 11:12:51 +0000
(11:12 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 31 Mar 2004 11:12:51 +0000
(11:12 -0000)
editors/vi.c
patch
|
blob
|
history
diff --git
a/editors/vi.c
b/editors/vi.c
index 28eca754a2d1b156d95dd09c8c5825a90943f0c6..0ed9edd6e2c424dda635f54af75130ea41614d7b 100644
(file)
--- a/
editors/vi.c
+++ b/
editors/vi.c
@@
-19,7
+19,7
@@
*/
static const char vi_Version[] =
- "$Id: vi.c,v 1.3
4 2004/03/15 08:28:32
andersen Exp $";
+ "$Id: vi.c,v 1.3
5 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