diff: fix bug 613 (diff -ub segfaults)
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 20 Sep 2009 23:22:18 +0000 (01:22 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 20 Sep 2009 23:22:18 +0000 (01:22 +0200)
commit3e0205031425b8c161d7e8936e603f5ece9aa937
tree1ff1419da02917d58f37e3214522292ad343e4fa
parent532609e36e6a34184af46edfba2616368c7389f3
diff: fix bug 613 (diff -ub segfaults)

function                                             old     new   delta
dump_unified_vec                                     435     457     +22
diff_main                                            855     860      +5
diffreg                                             1786    1781      -5
do_diff                                              428     416     -12
change                                               325     283     -42
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/3 up/down: 27/-59)            Total: -32 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/diff.c