← Commit list

0085f231b

Denis Vlasenko
Denis Vlasenko
2007-03-07
FAILED Duration: 17s

Subject

diff: make -U0 work

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/diff.c+1 -1
@@ -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