Subject: Re: CVS commit: src/lib/libutil
To: Christos Zoulas <christos@zoulas.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: source-changes
Date: 05/12/2004 11:38:25
--2xzXx3ruJf7hsAzo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, May 09, 2004 at 11:57:26PM +0000, Christos Zoulas wrote:
| In article <20040509232811.20E882DA1D@cvs.netbsd.org>,
| Luke Mewburn <lukem@netbsd.org> wrote:
| >
| >Module Name: src
| >Committed By: lukem
| >Date: Sun May 9 23:28:11 UTC 2004
| >
| >Modified Files:
| > src/lib/libutil: login_cap.c
| >
| >Log Message:
| >sbsize should be parsed as R_CSIZE so that suffixes work correctly.
| >Fix from Christian Biere in PR [lib/25504].
| >
| >(XXX: the R_CSIZE parsing should be changed to using strsuftollx(3))
| >
| >
| >To generate a diff of this commit:
| >cvs rdiff -r1.17 -r1.18 src/lib/libutil/login_cap.c
| >
| >Please note that diffs are not public domain; they are subject to the
| >copyright notices on the relevant files.
| >
|=20
| But sbsize is in bytes, not in kilo-bytes... Doesn't that need to be
| handled specially?
No it doesn't; all of the R_CSIZE values in login_cap.c are actually
in bytes. (At least, according to login.conf(5).)
Cheers,
Luke.
--2xzXx3ruJf7hsAzo
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAoYARpBhtmn8zJHIRAs4LAKDCIQ2MVEf7jNzqeG/cdatiUBTZ4ACeJzEV
m/TE15YF24htlKu2cAuduSY=
=LyI5
-----END PGP SIGNATURE-----
--2xzXx3ruJf7hsAzo--