From: Denis Vlasenko Date: Wed, 7 Mar 2007 22:45:42 +0000 (-0000) Subject: diff: make -U0 work X-Git-Tag: 1_5_1~106 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0085f231b2136e3ae2e9f2689dd88c5f7f765cae;p=oweals%2Fbusybox.git diff: make -U0 work --- 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