##// END OF EJS Templates
don't return uninitialized memory from bdiff.blocks()...
don't return uninitialized memory from bdiff.blocks() bdiff.blocks() returns a dummy match at the end of both files; the length of that chunk is never set, so it will sometimes contain random heap garbage. There are apparently workarounds for this elsewhere: # bdiff sometimes gives huge matches past eof, this check eats them,

File last commit:

r1184:9462df77 default
r4131:1ca664c9 default
Show More
test-notfound.out
6 lines | 259 B | text/plain | TextLexer
/ tests / test-notfound.out
Thomas Arendsen Hein
Addes test for error messages when operating on non-existing files.
r909 Is there an error message when trying to diff non-existing files?
found: No such file or directory
not: No such file or directory
bos@serpentine.internal.keyresearch.com
Fix up failing tests.
r1184 Is there an error message when trying to add non-existing files?
Thomas Arendsen Hein
Addes test for error messages when operating on non-existing files.
r909 found: No such file or directory
bos@serpentine.internal.keyresearch.com
Fix up failing tests.
r1184 not: No such file or directory