e68edb8cf0
As noted by cem in r338035, coccinelle invokes diff(1) with the -B flag. This was not previously implemented here, so one was forced to create a link for GNU diff to /usr/local/bin/diff Implement the -B flag and add some primitive tests for it. It is implemented in the same fashion that -I is implemented; each chunk's lines are scanned, and if a non-blank line is encountered then the chunk will be output. Otherwise, it's skipped. MFC after: 2 weeks |
||
---|---|---|
.. | ||
Bflag_C.out | ||
Bflag_D.out | ||
Bflag_F.out | ||
diff_test.sh | ||
group-format.out | ||
header_ns.out | ||
header.out | ||
ifdef.out | ||
input1.in | ||
input2.in | ||
input_c1.in | ||
input_c2.in | ||
Makefile | ||
Makefile.depend | ||
simple_b.out | ||
simple_e.out | ||
simple_i.out | ||
simple_n.out | ||
simple_p.out | ||
simple_u.out | ||
simple_w.out | ||
simple.out | ||
unified_9999.out | ||
unified_c9999.out | ||
unified_p.out |