aboutsummaryrefslogtreecommitdiff
path: root/coreutils/diff.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-07 22:45:42 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-03-07 22:45:42 +0000
commit871b8f4e3a6fcadcc691f6b6e290123cc41bdb9a (patch)
tree5ff71a205d32a92507a26f72d1c920e1d9ca93d3 /coreutils/diff.c
parent2edbd3738aaa9fa9e45e005c3a04d538f6d99990 (diff)
downloadbusybox-w32-871b8f4e3a6fcadcc691f6b6e290123cc41bdb9a.tar.gz
busybox-w32-871b8f4e3a6fcadcc691f6b6e290123cc41bdb9a.tar.bz2
busybox-w32-871b8f4e3a6fcadcc691f6b6e290123cc41bdb9a.zip
diff: make -U0 work
git-svn-id: svn://busybox.net/trunk/busybox@18027 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/diff.c')
-rw-r--r--coreutils/diff.c2
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