projects
/
dupemerge
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix "expected inode FOO, found BAR" warning message
[dupemerge]
/
faster-dupemerge
diff --git
a/faster-dupemerge
b/faster-dupemerge
index 9753e5aacb2a74ffb9b89fa0a4eec5636d600c90..ef86fbb4898306a0d0805cf49679c3758424120e 100755
(executable)
--- a/
faster-dupemerge
+++ b/
faster-dupemerge
@@
-155,6
+155,7
@@
hard links).
S, s - lstat(2) (see source for details)
U - unlink(2)
. - all inodes with similar attributes done
S, s - lstat(2) (see source for details)
U - unlink(2)
. - all inodes with similar attributes done
+ (123456) - current file size in bytes
--sort pass next options (up to --) to sort command
--sort pass next options (up to --) to sort command
@@
-404,7
+405,7
@@
incumbent_file:
}
if (format_inode($incumbent_dev, $incumbent_ino) ne $incumbent) {
}
if (format_inode($incumbent_dev, $incumbent_ino) ne $incumbent) {
- warn "$incumbent_file: expected inode $incumbent, found
$incumbent_dev:$incumbent_ino"
;
+ warn "$incumbent_file: expected inode $incumbent, found
".format_inode($incumbent_dev, $incumbent_ino)
;
$surprises++;
next incumbent_file;
}
$surprises++;
next incumbent_file;
}
@@
-425,7
+426,7
@@
candidate_file:
}
if (format_inode($candidate_dev, $candidate_ino) ne $candidate) {
}
if (format_inode($candidate_dev, $candidate_ino) ne $candidate) {
- warn "$candidate_file: expected inode $candidate, found
$candidate_dev:$candidate_ino"
;
+ warn "$candidate_file: expected inode $candidate, found
".format_inode($candidate_dev, $candidate_ino)
;
$surprises++;
next candidate_file;
}
$surprises++;
next candidate_file;
}