Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 16:04:08 -0800
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        Bruce Evans <bde@zeta.org.au>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/dumpfs dumpfs.c
Message-ID:  <20030119160407.A75258@FreeBSD.org>
In-Reply-To: <200301192359.h0JNx2VZ002495@khavrinen.lcs.mit.edu>; from wollman@lcs.mit.edu on Sun, Jan 19, 2003 at 06:59:02PM -0500
References:  <20030119.133145.02779620.imp@bsdimp.com> <20030120103433.Y21079-100000@gamplex.bde.org> <200301192359.h0JNx2VZ002495@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* De: Garrett Wollman <wollman@lcs.mit.edu> [ Data: 2003-01-19 ]
	[ Subjecte: Re: cvs commit: src/sbin/dumpfs dumpfs.c ]
> <<On Mon, 20 Jan 2003 10:48:25 +1100 (EST), Bruce Evans <bde@zeta.org.au> said:
> 
> > Only C programmers.  It also fails in the int is 17-31 bit cases, and on
> > systems where longs are 32 bits and int32_t happens to be implemented as
> > long.
> 
> Since we're POSIX programmers, we have additional knowledge about the
> data types in question (specifically, that int is no narrower than 32
> bits).

I dislike using %d for anything which is not written "int" or guaranteed
to be written "int" if you replace typedefs with #define's.  It cannot be
avoided in some cases.  This is C after all, and like you mention, on a
POSIXoid system.  I don't intend to fix the format stuff, I can't, but I
just wanted to note that there exist some inexplicit wrt typing formats
in that file that I was not intending to fix.

I soo enjoy the time recently I've spent with C# ;)
-- 
Juli Mallett <jmallett@FreeBSD.org>
AIM: BSDFlata -- IRC: juli on EFnet.
OpenDarwin, Mono, FreeBSD Developer.
ircd-hybrid Developer, EFnet addict.
FreeBSD on MIPS-Anything on FreeBSD.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030119160407.A75258>