freebsd-nq/usr.sbin/makefs
Nathaniel Filardo 7ef082733b makefs: Cast daddr_t to off_t before multiplication
Apparently some large-file systems out there, such as my powerpc64le
Linux box, define daddr_t as a 32-bit type, which is sad and stymies
cross-building disk images.  Cast daddr_t to off_t before doing
arithmetic that overflows.

Reviewed by:	arichardson, jrtc27, imp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D27458
2021-06-15 01:22:04 +01:00
..
cd9660 Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs makefs: Cast daddr_t to off_t before multiplication 2021-06-15 01:22:04 +01:00
msdos Fix makefs bootstrap after d485c77f20 2021-02-22 17:55:45 +00:00
sys Fix makefs bootstrap after d485c77f20 2021-02-22 17:55:45 +00:00
tests Revert r362390, those tests are fixed by r362418 2020-06-23 19:14:38 +00:00
cd9660.c Synchronise with NetBSD's version of EFI handling for El Torito images. 2018-03-31 15:04:41 +00:00
cd9660.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
ffs.c Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-06 13:43:29 -04:00
ffs.h Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-06 13:43:29 -04:00
Makefile Fix makefs bootstrap on macOS after D25563 2020-08-25 13:30:24 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
makefs.8 Allocate extra inodes in makefs when leaving free space in UFS images. 2021-04-06 13:43:29 -04:00
makefs.c makefs: add msdosfs (FAT) support 2019-08-20 18:20:45 +00:00
makefs.h Fix -Wpointer-sign warnings in makefs and mkimg 2021-01-07 09:26:21 +00:00
msdos.c Fix makefs bootstrap after d485c77f20 2021-02-22 17:55:45 +00:00
msdos.h Fix makefs bootstrap after d485c77f20 2021-02-22 17:55:45 +00:00
mtree.c makefs: Ignore the "tags" keyword in mtree manifests 2021-03-23 14:38:40 -04:00
walk.c