Page MenuHomeFreeBSD

D45219.diff
No OneTemporary

D45219.diff

diff --git a/usr.bin/diff/diffreg_new.c b/usr.bin/diff/diffreg_new.c
--- a/usr.bin/diff/diffreg_new.c
+++ b/usr.bin/diff/diffreg_new.c
@@ -218,10 +218,14 @@
rc = D_ERROR;
goto done;
}
+ if (left.atomizer_flags & DIFF_ATOMIZER_FILE_TRUNCATED)
+ warnx("%s truncated", file1);
if (diff_atomize_file(&right, cfg, f2, (uint8_t *)str2, st2.st_size, diff_flags)) {
rc = D_ERROR;
goto done;
}
+ if (right.atomizer_flags & DIFF_ATOMIZER_FILE_TRUNCATED)
+ warnx("%s truncated", file2);
result = diff_main(cfg, &left, &right);
if (result->rc != DIFF_RC_OK) {

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 3:21 AM (21 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14669565
Default Alt Text
D45219.diff (575 B)

Event Timeline