From owner-freebsd-stable@FreeBSD.ORG Thu Feb 12 01:36:44 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4A0EF78 for ; Thu, 12 Feb 2015 01:36:44 +0000 (UTC) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 635B7C93 for ; Thu, 12 Feb 2015 01:36:44 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id w62so7009960wes.9 for ; Wed, 11 Feb 2015 17:36:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YlQkoVBlW3XoBMPmbd6DNVMOOCK2tlneuKsAL+aiKuQ=; b=GDmEYIFsYYPs+7HtSuz1MEcrNRlaCb07avj5uEIphWGfJYzBjkXBXCgBrcCGVN7oKH TmJDvG8/W/+7I8hePHdIcdhrA2lDjJTT/m8RLemMTOKAlz701S2m/Kl0Nw7YVe08oXxb 6mVv+JA+rdX2MbGqs36dBtV3bzvNH8aF36V3wUYwF5+r8WmLNZ9BpOxt2dz4V5hphofk AjN7S2xdmd7j7xqMoXg4oOM9KpRqHN9+PNtao8l7e8iGS/CTVSXqEfrdnfZT0CFA1SKw MC08rjN51dyO5nQL5fX4UtH2BwiemXrahSwKyzdGlwQrGmUYueazoosZtJ9ittbYUmQT 67gg== MIME-Version: 1.0 X-Received: by 10.180.126.102 with SMTP id mx6mr1522930wib.12.1423705002859; Wed, 11 Feb 2015 17:36:42 -0800 (PST) Received: by 10.216.234.74 with HTTP; Wed, 11 Feb 2015 17:36:42 -0800 (PST) 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> Date: Wed, 11 Feb 2015 20:36:42 -0500 Message-ID: Subject: Re: top, fixed buffer length in utils.c From: Brandon Allbery To: Erich Dollansky Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: John-Mark Gurney , freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 01:36:45 -0000 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