summaryrefslogtreecommitdiff
path: root/dist/sqlite3.c
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-01-14 18:41:23 +0000
committerNarayan Kamath <narayan@google.com>2015-01-14 18:41:23 +0000
commit0266b374020e3274292c231d4848c39904a10b7f (patch)
tree776516a7af23786b4cceaa1267b410b4ccb3329f /dist/sqlite3.c
parent006c79750f8494ea445316f608905216693c6814 (diff)
Revert "Store inodes in unsigned long long"
This reverts commit 006c79750f8494ea445316f608905216693c6814. We've committed a better fix, and we shouldn't encourage folks to copy paste this workaround. bug: 19012244
Diffstat (limited to 'dist/sqlite3.c')
-rw-r--r--dist/sqlite3.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/dist/sqlite3.c b/dist/sqlite3.c
index e1aa127..edd2045 100644
--- a/dist/sqlite3.c
+++ b/dist/sqlite3.c
@@ -25319,14 +25319,7 @@ struct unixFileId {
#if OS_VXWORKS
struct vxworksFileId *pId; /* Unique file ID for vxworks. */
#else
-#ifdef ANDROID
- // Bionic's struct stat has a 64 bit st_ino on both 32 and
- // 64 bit architectures. ino_t remains 32 bits wide on 32 bit
- // architectures and can lead to inode truncation.
- unsigned long long ino; /* Inode number */
-#else
- ino_t ino; /* Inode number */
-#endif
+ ino_t ino; /* Inode number */
#endif
};