From owner-cvs-all Wed May 29 13:50:34 2002 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 1232337B400; Wed, 29 May 2002 13:50:29 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.3/8.12.2) with ESMTP id g4TKnNKu017234; Wed, 29 May 2002 22:49:23 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Marcel Moolenaar Cc: Garrett Wollman , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys gpt.h In-Reply-To: Your message of "Wed, 29 May 2002 13:38:46 PDT." <20020529133846.E64995@kayak.xcllnt.net> Date: Wed, 29 May 2002 22:49:23 +0200 Message-ID: <17233.1022705363@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20020529133846.E64995@kayak.xcllnt.net>, Marcel Moolenaar writes: >On Wed, May 29, 2002 at 04:27:41PM -0400, Garrett Wollman wrote: >> The C programming language does not work that way, and has never >> worked that way. does not work that way: true. never worked that way: false. It did, it just wasn't documented that it would continue to do so. >Even a char does not have to be 8 bits anymore then... Well, it never had to, even the old testament has words to that effect. >I mean: sizeof(char x[20]) may then very well yield 21... No, the unit of sizeof is "sizeof(char)" :-) >Ah, well... No point getting all "Don Quixote" about this... Right. On the other hand, if the C-standards people had been a bit more future-interested, they would have added a proper bitmap type and a way to specify storage layout for hardware/on-media format structs, but such useful features never survive standards bodies. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message