[BusyBox-cvs] svn commit: trunk/busybox/coreutils

vapier at busybox.net vapier at busybox.net
Fri May 13 03:09:21 UTC 2005


Author: vapier
Date: 2005-05-12 21:09:20 -0600 (Thu, 12 May 2005)
New Revision: 10323

Log:
as Rob Landley pointed out, need to fix the 1 versus i typo in indexing

Modified:
   trunk/busybox/coreutils/comm.c


Changeset:
Modified: trunk/busybox/coreutils/comm.c
===================================================================
--- trunk/busybox/coreutils/comm.c	2005-05-13 00:58:18 UTC (rev 10322)
+++ trunk/busybox/coreutils/comm.c	2005-05-13 03:09:20 UTC (rev 10323)
@@ -71,7 +71,7 @@
 	int i;
 
 	for (i = 0; i < 2; ++i) {
-		streams[i] = ((infiles[i][0] == '=' && infiles[1][1]) ? stdin : bb_xfopen(infiles[i], "r"));
+		streams[i] = ((infiles[i][0] == '=' && infiles[i][1]) ? stdin : bb_xfopen(infiles[i], "r"));
 		fgets(thisline[i], LINE_LEN, streams[i]);
 	}
 




More information about the busybox-cvs mailing list