From: Bernhard Reutner-Fischer Date: Fri, 19 May 2006 12:23:07 +0000 (-0000) Subject: - fix invalid mode X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ce4b5644615b976af501069619ee35ad0ca942e7;p=oweals%2Fbusybox.git - fix invalid mode (r15122 from trunk) --- diff --git a/miscutils/less.c b/miscutils/less.c index 84e4b612d..ecc55688c 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -210,7 +210,7 @@ static void data_readlines(void) 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, "");