The ISO9660 spec does allow files up to 4G. Change the i_size
field to "unsigned long" so that it actually works. Thanks to Robert Sciuk for sending me a DVD that demonstrated ISO9660-formatted media with a file >2G. I've now fixed this both in libarchive and in the cd9660 filesystem. MFC after: 14 days
This commit is contained in:
parent
a426a2865c
commit
8d3027e203
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165005
@ -69,7 +69,7 @@ struct iso_node {
|
||||
ino_t i_ino; /* inode number of found directory */
|
||||
|
||||
long iso_extent; /* extent of file */
|
||||
long i_size;
|
||||
unsigned long i_size;
|
||||
long iso_start; /* actual start of data of file (may be different */
|
||||
/* from iso_extent, if file has extended attributes) */
|
||||
ISO_RRIP_INODE inode;
|
||||
|
@ -69,7 +69,7 @@ struct iso_node {
|
||||
ino_t i_ino; /* inode number of found directory */
|
||||
|
||||
long iso_extent; /* extent of file */
|
||||
long i_size;
|
||||
unsigned long i_size;
|
||||
long iso_start; /* actual start of data of file (may be different */
|
||||
/* from iso_extent, if file has extended attributes) */
|
||||
ISO_RRIP_INODE inode;
|
||||
|
Loading…
Reference in New Issue
Block a user