diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-07 22:45:42 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-03-07 22:45:42 +0000 |
commit | 0085f231b2136e3ae2e9f2689dd88c5f7f765cae (patch) | |
tree | 5ff71a205d32a92507a26f72d1c920e1d9ca93d3 | |
parent | 80281fefc032c3317d5709489aadb733f6fb0e30 (diff) | |
download | busybox-w32-0085f231b2136e3ae2e9f2689dd88c5f7f765cae.tar.gz busybox-w32-0085f231b2136e3ae2e9f2689dd88c5f7f765cae.tar.bz2 busybox-w32-0085f231b2136e3ae2e9f2689dd88c5f7f765cae.zip |
diff: make -U0 work
-rw-r--r-- | coreutils/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1175 | L_arg = L_arg->link; | 1175 | L_arg = L_arg->link; |
1176 | } | 1176 | } |
1177 | if (option_mask32 & FLAG_U) | 1177 | if (option_mask32 & FLAG_U) |
1178 | context = xatou_range(U_opt, 1, INT_MAX); | 1178 | context = xatoi_u(U_opt); |
1179 | 1179 | ||
1180 | /* | 1180 | /* |
1181 | * Do sanity checks, fill in stb1 and stb2 and call the appropriate | 1181 | * Do sanity checks, fill in stb1 and stb2 and call the appropriate |