mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
On ISO9660 if the file is empty, do not store extent.
This commit is contained in:
@@ -39,7 +39,7 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
|
||||
DecodedDirectoryEntry entry = new DecodedDirectoryEntry();
|
||||
|
||||
entry.Extent = record.extent;
|
||||
entry.Extent = record.size == 0 ? 0 : record.extent;
|
||||
entry.Size = record.size;
|
||||
entry.Flags = record.flags;
|
||||
entry.FileUnitSize = record.file_unit_size;
|
||||
|
||||
Reference in New Issue
Block a user