From 86c1b9785705552d1437963f2fbe999c28c18720 Mon Sep 17 00:00:00 2001 From: kientzle Date: Fri, 8 Dec 2006 07:43:53 +0000 Subject: 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 --- sys/fs/cd9660/cd9660_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/fs/cd9660/cd9660_node.h') diff --git a/sys/fs/cd9660/cd9660_node.h b/sys/fs/cd9660/cd9660_node.h index a362dc1..a0eb135 100644 --- a/sys/fs/cd9660/cd9660_node.h +++ b/sys/fs/cd9660/cd9660_node.h @@ -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; -- cgit v1.1