mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Macintosh filesystem] Fix calculation of file sizes.
This commit is contained in:
@@ -279,12 +279,12 @@ namespace Aaru.Filesystems
|
||||
stat = new FileEntryInfo
|
||||
{
|
||||
Attributes = attr,
|
||||
Blocks = entry.flLgLen / _volMdb.drAlBlkSiz,
|
||||
Blocks = entry.flPyLen / _volMdb.drAlBlkSiz,
|
||||
BlockSize = _volMdb.drAlBlkSiz,
|
||||
CreationTime = DateHandlers.MacToDateTime(entry.flCrDat),
|
||||
Inode = entry.flFlNum,
|
||||
LastWriteTime = DateHandlers.MacToDateTime(entry.flMdDat),
|
||||
Length = entry.flPyLen,
|
||||
Length = entry.flLgLen,
|
||||
Links = 1
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user