diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-12-01 01:31:51 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-12-01 01:31:51 +0000 |
commit | 53ebf1afe9f796d56af20040bde0893e46ad1b73 (patch) | |
tree | d9584963c3120c004dd966b2baf5e6254274659a /lib/win32 | |
parent | 302cb4a51ed03884279f5013805f32ba21da1243 (diff) |
Fix the use of an unreasonably short type as the temporary storage
for inode numbers on Windows, resulting in all inode numbers being
coerced into 2^16 space and many duplicates on systems with large
numbers of files being backed up, possibly resulting in store
corruption due to unwanted file rename operations.
Diffstat (limited to 'lib/win32')
-rw-r--r-- | lib/win32/emu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h index e8d87f19..1d3fd150 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -25,6 +25,9 @@ #ifdef __MINGW32__ typedef uint32_t u_int32_t; + typedef uint64_t _ino_t; + typedef _ino_t ino_t; + #define _INO_T_ #else typedef unsigned int mode_t; typedef unsigned int pid_t; |