Date: Wed, 11 Feb 2015 20:36:42 -0500 From: Brandon Allbery <allbery.b@gmail.com> To: Erich Dollansky <erichsfreebsdlist@alogt.com> Cc: John-Mark Gurney <jmg@funkthat.com>, freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: top, fixed buffer length in utils.c Message-ID: <CAKFCL4UbTpG2K6gAMkvyFjz3KGtGRzrQSrKcK=RujCpgeGA=TQ@mail.gmail.com> In-Reply-To: <20150212091323.245485ba@B85M-HD3-0.alogt.com> References: <20150201175159.7fa88d16@B85M-HD3-0.alogt.com> <20150203003307.GG27103@funkthat.com> <20150210231440.GB471@rancor.immure.com> <20150212091323.245485ba@B85M-HD3-0.alogt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 11, 2015 at 8:13 PM, Erich Dollansky < erichsfreebsdlist@alogt.com> wrote: > It is a very bad idea to assume a size for any type when the size can > change between compilers. > > If you want, just read the old discussion regarding time_t. > I keep feeling like we should have learned *something* in the past 30+ years, instead of rehashing arguments used in the PDP11, and later the 8088, days. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKFCL4UbTpG2K6gAMkvyFjz3KGtGRzrQSrKcK=RujCpgeGA=TQ>