Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2005 13:43:18 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Giorgos Keramidas <keramida@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: human-readable swap partition sizes with pstat -sh
Message-ID:  <20050320124318.GY591@darkness.comp.waw.pl>
In-Reply-To: <20050320081104.GA64458@gothmog.gr>
References:  <20050106191201.GA30826@gothmog.gr> <20050106195719.GB24896@odin.ac.hmc.edu> <20050106225857.GB784@darkness.comp.waw.pl> <20050106191201.GA30826@gothmog.gr> <20050106195719.GB24896@odin.ac.hmc.edu> <20050106195950.GA34916@gothmog.gr> <20050106200718.GD24896@odin.ac.hmc.edu> <20050320081104.GA64458@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help

--ds9maZbwT7uk2FVi
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 20, 2005 at 10:11:04AM +0200, Giorgos Keramidas wrote:
+> On 2005-01-06 23:58, Pawel Jakub Dawidek <pjd@freebsd.org> wrote:
+> > I like intmax_t also much better than int64_t, but I took it from
+> > NetBSD and they got int64_t there. Anyway, I think we don't have to be
+> > 100% compatible here and I'll look what can be done.
+>=20
+> Bearing this in mind, is it ok then if I commit the pstat changes shown
+> below, which use intmax_t or is it better to change all the intmax_t
+> instances in pstat.c to int64_t?

Use int64_t. We decided not to use intmax_t in humanize_number(3), because
then we need to include inttypes.h from libutil.h and this is just too
nasty.

The patch looks ok.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--ds9maZbwT7uk2FVi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFCPW/mForvXbEpPzQRArTMAJ92EupVXBtL2FxXrleLwYkwggN9oACfYf9m
qAyWrIdvAjGJ5BNcXuz0ISQ=
=gL9c
-----END PGP SIGNATURE-----

--ds9maZbwT7uk2FVi--



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