svn commit: branches/busybox_1_1_stable/miscutils

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


Author: aldot
Date: 2006-05-19 05:23:07 -0700 (Fri, 19 May 2006)
New Revision: 15123

Log:
- fix invalid mode
(r15122 from trunk)


Modified:
   branches/busybox_1_1_stable/miscutils/less.c


Changeset:
Modified: branches/busybox_1_1_stable/miscutils/less.c
===================================================================
--- branches/busybox_1_1_stable/miscutils/less.c	2006-05-19 12:22:11 UTC (rev 15122)
+++ branches/busybox_1_1_stable/miscutils/less.c	2006-05-19 12:23:07 UTC (rev 15123)
@@ -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