From 0085f231b2136e3ae2e9f2689dd88c5f7f765cae Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 7 Mar 2007 22:45:42 +0000 Subject: [PATCH] diff: make -U0 work --- coreutils/diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreutils/diff.c b/coreutils/diff.c index df43c98ad..0eaf0b1d1 100644 --- a/coreutils/diff.c +++ b/coreutils/diff.c @@ -1175,7 +1175,7 @@ int diff_main(int argc, char **argv) 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 -- 2.25.1