CVS commit: src/usr.sbin/makefs/ffs

2023-03-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Mar 14 10:36:07 UTC 2023 Modified Files: src/usr.sbin/makefs/ffs: buf.c Log Message: In bwrite() if the write() returned -1, the associated errno was being used after a (possible) call to printf (only happens when debugging) and

CVS commit: src/usr.sbin/makefs/ffs

2023-03-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Mar 14 10:36:07 UTC 2023 Modified Files: src/usr.sbin/makefs/ffs: buf.c Log Message: In bwrite() if the write() returned -1, the associated errno was being used after a (possible) call to printf (only happens when debugging) and

CVS commit: src/usr.sbin/makefs/ffs

2023-03-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Mar 14 09:25:13 UTC 2023 Modified Files: src/usr.sbin/makefs/ffs: buf.c Log Message: Use %zd to print ssize_t (%z[uxo] for size_t), rather than %jd (just like the other adjacent printfs do) Should fix i386 build. To generate

CVS commit: src/usr.sbin/makefs/ffs

2023-03-14 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Mar 14 09:25:13 UTC 2023 Modified Files: src/usr.sbin/makefs/ffs: buf.c Log Message: Use %zd to print ssize_t (%z[uxo] for size_t), rather than %jd (just like the other adjacent printfs do) Should fix i386 build. To generate

CVS commit: src/usr.sbin/makefs/ffs

2023-03-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 13 22:17:24 UTC 2023 Modified Files: src/usr.sbin/makefs/ffs: ffs_alloc.c ffs_balloc.c Log Message: Don't brelse() if bread() fails. The kernel does this for us. Our bread() implementation just exits on failure, but if

CVS commit: src/usr.sbin/makefs/ffs

2023-03-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 13 22:17:24 UTC 2023 Modified Files: src/usr.sbin/makefs/ffs: ffs_alloc.c ffs_balloc.c Log Message: Don't brelse() if bread() fails. The kernel does this for us. Our bread() implementation just exits on failure, but if

CVS commit: src/usr.sbin/makefs/ffs

2023-03-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 13 22:10:30 UTC 2023 Modified Files: src/usr.sbin/makefs/ffs: buf.c Log Message: modernize; release bpp and set it to NULL as the kernel does even if we never return here. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.sbin/makefs/ffs

2023-03-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 13 22:10:30 UTC 2023 Modified Files: src/usr.sbin/makefs/ffs: buf.c Log Message: modernize; release bpp and set it to NULL as the kernel does even if we never return here. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.sbin/makefs/ffs

2022-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 2 19:16:49 UTC 2022 Modified Files: src/usr.sbin/makefs/ffs: mkfs.c Log Message: Avoid integer overflow on systems with 32bit disk addresses. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/usr.sbin/makefs/ffs

2022-04-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Apr 2 19:16:49 UTC 2022 Modified Files: src/usr.sbin/makefs/ffs: mkfs.c Log Message: Avoid integer overflow on systems with 32bit disk addresses. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

Re: CVS commit: src/usr.sbin/makefs/ffs

2022-03-07 Thread Izumi Tsutsui
> Module Name: src > Committed By: hgutch > Date: Sun Mar 6 08:31:54 UTC 2022 > > Modified Files: > src/usr.sbin/makefs/ffs: buf.h newfs_extern.h > Added Files: > src/usr.sbin/makefs/ffs: namespace.h > > Log Message: > Make sure daddr_t is a 64 bit type when building tools.

CVS commit: src/usr.sbin/makefs/ffs

2022-03-06 Thread Harold Gutch
Module Name:src Committed By: hgutch Date: Sun Mar 6 08:31:54 UTC 2022 Modified Files: src/usr.sbin/makefs/ffs: buf.h newfs_extern.h Added Files: src/usr.sbin/makefs/ffs: namespace.h Log Message: Make sure daddr_t is a 64 bit type when building tools. (see also

CVS commit: src/usr.sbin/makefs/ffs

2022-03-06 Thread Harold Gutch
Module Name:src Committed By: hgutch Date: Sun Mar 6 08:31:54 UTC 2022 Modified Files: src/usr.sbin/makefs/ffs: buf.h newfs_extern.h Added Files: src/usr.sbin/makefs/ffs: namespace.h Log Message: Make sure daddr_t is a 64 bit type when building tools. (see also

Re: CVS commit: src/usr.sbin/makefs/ffs

2012-04-23 Thread Christos Zoulas
On Apr 23, 9:05pm, dholland-sourcechan...@netbsd.org (David Holland) wrote: -- Subject: Re: CVS commit: src/usr.sbin/makefs/ffs | On Mon, Apr 23, 2012 at 05:04:45PM -0400, Christos Zoulas wrote: | | I was wondering if maybe ino_t isn't reliable for tools... | | Looks like