svn commit: trunk/busybox/coreutils

vda at busybox.net vda at busybox.net
Wed Mar 7 22:45:43 UTC 2007


Author: vda
Date: 2007-03-07 14:45:42 -0800 (Wed, 07 Mar 2007)
New Revision: 18027

Log:
diff: make -U0 work


Modified:
   trunk/busybox/coreutils/diff.c


Changeset:
Modified: trunk/busybox/coreutils/diff.c
===================================================================
--- trunk/busybox/coreutils/diff.c	2007-03-07 22:16:38 UTC (rev 18026)
+++ trunk/busybox/coreutils/diff.c	2007-03-07 22:45:42 UTC (rev 18027)
@@ -1175,7 +1175,7 @@
 		L_arg = L_arg->link;
 	}
 	if (option_mask32 & FLAG_U)
-		context = xatou_range(U_opt, 1, INT_MAX);
+		context = xatoi_u(U_opt);
 
 	/*
 	 * Do sanity checks, fill in stb1 and stb2 and call the appropriate




More information about the busybox-cvs mailing list