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 a

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 a

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 i

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 i

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 src/usr.sbin/m

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 src/usr.sbin/m

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 PR

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 PR

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

2012-04-23 Thread David Holland
On Mon, Apr 23, 2012 at 06:26:25PM -0400, Christos Zoulas wrote: > | Yeah but is it going to turn out to e.g. be signed if building on some > | random broken host OS? > > I don't think it will work at all if it is not a 64 bit quantity, will it? I guess the qeustion is: does the tools build g

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 li

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

2012-04-23 Thread David Holland
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 it is there on: > /usr/src/usr.sbin/makefs/ffs/ufs_inode.h: ino_t i_number; >/* The identity of the inode. */ > > so it sho

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

2012-04-23 Thread Christos Zoulas
On Apr 23, 8:13pm, dholland-sourcechan...@netbsd.org (David Holland) wrote: -- Subject: Re: CVS commit: src/usr.sbin/makefs/ffs | I was wondering if maybe ino_t isn't reliable for tools... Looks like it is there on: /usr/src/usr.sbin/makefs/ffs/ufs_inode.h: ino_t i_n

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

2012-04-23 Thread David Holland
On Fri, Apr 20, 2012 at 01:23:29PM +, Christos Zoulas wrote: > >Module Name:src > >Committed By: dholland > >Date: Thu Apr 19 19:48:15 UTC 2012 > > > >Modified Files: > >src/usr.sbin/makefs/ffs: mkfs.c > > > >Log Message: > >Fix build failure reported by

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

2012-04-20 Thread Christos Zoulas
In article <20120419194815.b1dfd17...@cvs.netbsd.org>, David A. Holland wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: dholland >Date: Thu Apr 19 19:48:15 UTC 2012 > >Modified Files: > src/usr.sbin/makefs/ffs: mkfs.c > >Log Message: >Fix build failure reported by bracket.