Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177354955
D45219.1794182459.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
575 B
Referenced Files
None
Subscribers
None
D45219.1794182459.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 9, 12:00 AM (4 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41601169
Default Alt Text
D45219.1794182459.diff (575 B)
Attached To
Mode
D45219: diff: Warn if the atomizer detected truncation.
Attached
Detach File
Event Timeline