[BusyBox-cvs] busybox/editors vi.c,1.34,1.35

Erik Andersen andersen at busybox.net
Wed Mar 31 11:12:53 UTC 2004


Update of /var/cvs/busybox/editors
In directory nail:/tmp/cvs-serv26410/editors

Modified Files:
	vi.c 
Log Message:
Patch from Thomas Winkler -- vi -R did not work


Index: vi.c
===================================================================
RCS file: /var/cvs/busybox/editors/vi.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- a/vi.c	15 Mar 2004 08:28:32 -0000	1.34
+++ b/vi.c	31 Mar 2004 11:12:51 -0000	1.35
@@ -375,6 +375,7 @@
 #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




More information about the busybox-cvs mailing list