aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog.txt
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2018-09-20 13:35:28 -0500
committerSeebs <seebs@seebs.net>2018-09-20 13:35:28 -0500
commitca86e30df5e6a9f51af677af8691c86a3f894555 (patch)
tree913cd9f0ee0dba145ad37f5f2f9a6885bb31fa48 /ChangeLog.txt
parentfddbe854c9db058d5a05830d3bcdd4233d95ee2e (diff)
downloadpseudo-ca86e30df5e6a9f51af677af8691c86a3f894555.tar.gz
pseudo-ca86e30df5e6a9f51af677af8691c86a3f894555.tar.bz2
pseudo-ca86e30df5e6a9f51af677af8691c86a3f894555.zip
attempt to handle large inode values
So ino_t is uint64_t, sqlite field types are magical and erratic and if a value doesn't fit inside signed int64, it gets converted to float64. of course. This means that the top half of the inode range produces invalid-ish values, because a 64-bit double is typically 53 bits of mantissa, so a value around 2^64 will convert to a float64 value which is going to compare equal to at least 2^10 other integer values if they were also converted to float64. Which makes weird problems.
Diffstat (limited to 'ChangeLog.txt')
-rw-r--r--ChangeLog.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index d6e3fca..d2a8862 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,7 @@
+2018-09-20:
+ * (seebs) coerce inodes to signed int64_t range when shoving
+ them into sqlite.
+
2018-04-13:
* (seebs) Reduce spamminess of path mismatches.
Don't log path mismatches with multiple links unless you've