svn commit: trunk/busybox/miscutils

vodz at busybox.net vodz at busybox.net
Thu Dec 15 11:54:42 UTC 2005


Author: vodz
Date: 2005-12-15 03:53:22 -0800 (Thu, 15 Dec 2005)
New Revision: 12898

Log:
fopen(TTY...) to bb_xfopen(), close bug 600

Modified:
   trunk/busybox/miscutils/less.c


Changeset:
Modified: trunk/busybox/miscutils/less.c
===================================================================
--- trunk/busybox/miscutils/less.c	2005-12-15 11:47:16 UTC (rev 12897)
+++ trunk/busybox/miscutils/less.c	2005-12-15 11:53:22 UTC (rev 12898)
@@ -238,7 +238,7 @@
 	fclose(fp);
 
 	if(inp == NULL)
-		inp = (inp_stdin) ? fopen(CURRENT_TTY, "r") : stdin;
+		inp = (inp_stdin) ? bb_xfopen(CURRENT_TTY, "r") : stdin;
 
 	if (flags & FLAG_N)
 		add_linenumbers();




More information about the busybox-cvs mailing list