Fix timestamp reading on Macs 32-bit

This commit is contained in:
Roman Shevchenko
2012-07-31 15:22:18 +02:00
parent 78bcc61ac7
commit 87137a2a2a
@@ -421,7 +421,7 @@ public class FileSystemUtil {
SystemInfo.isSolaris ? (SystemInfo.is32Bit ? 48 : 40) :
-1;
myTimeOffset = SystemInfo.isLinux ? (SystemInfo.is32Bit ? 72 : 88) :
SystemInfo.isMac | SystemInfo.isFreeBSD ? 40 :
SystemInfo.isMac | SystemInfo.isFreeBSD ? (SystemInfo.is32Bit ? 32 : 40) :
SystemInfo.isSolaris ? 64 :
-1;
if (myModeOffset < 0) throw new IllegalStateException("Unsupported OS: " + SystemInfo.OS_NAME);