Date: Wed, 29 May 2002 22:49:23 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys gpt.h Message-ID: <17233.1022705363@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 29 May 2002 13:38:46 PDT." <20020529133846.E64995@kayak.xcllnt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17233.1022705363>