svn commit: trunk/busybox/miscutils

aldot at busybox.net aldot at busybox.net
Fri May 19 12:22:23 UTC 2006


Author: aldot
Date: 2006-05-19 05:22:11 -0700 (Fri, 19 May 2006)
New Revision: 15122

Log:
- fix invalid mode


Modified:
   trunk/busybox/miscutils/less.c


Changeset:
Modified: trunk/busybox/miscutils/less.c
===================================================================
--- trunk/busybox/miscutils/less.c	2006-05-19 11:54:02 UTC (rev 15121)
+++ trunk/busybox/miscutils/less.c	2006-05-19 12:22:11 UTC (rev 15122)
@@ -210,7 +210,7 @@
 	char current_line[256];
 	FILE *fp;
 
-	fp = (inp_stdin) ? stdin : bb_xfopen(filename, "rt");
+	fp = (inp_stdin) ? stdin : bb_xfopen(filename, "r");
 	flines = NULL;
 	for (i = 0; (feof(fp)==0) && (i <= MAXLINES); i++) {
 		strcpy(current_line, "");




More information about the busybox-cvs mailing list