From owner-freebsd-questions Thu Jan 13 14:25:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from speedbuggy.telerama.com (speedbuggy.telerama.com [205.201.1.216]) by hub.freebsd.org (Postfix) with SMTP id 640D514D62 for ; Thu, 13 Jan 2000 14:25:30 -0800 (PST) (envelope-from evs@telerama.com) Received: (qmail 9219 invoked by uid 65534); 13 Jan 2000 22:25:28 -0000 Message-ID: <20000113222528.9215.qmail@speedbuggy.telerama.com> Date: 13 Jan 2000 17:25:28 -0500 From: evs@telerama.com To: Lowell Gilbert Reply-To: evs@telerama.com Cc: Mikhail Evstiounin , freebsd-questions@freebsd.org References: <00eb01bf5dc6$5adffe00$fc353018@evstiouninadelphia.net.pit.adelphia.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: IMP/PHP3 Imap webMail Program 2.0.9 X-Originating-IP: 141.202.248.57 Subject: Re: Giving a sighandler more information Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoting Lowell Gilbert : > "Mikhail Evstiounin" writes: > > > > Sorry, guys, but it requirenments of ANSI that > > sizeof(void*)==sizeof(int). > > > > > >No! A program which assumes that an int is large enough to > > >store a pointer is BROKEN. See this simple test program: > > > > > > Oliver, IT'S A REQUIRIMENTS OF THE STANDARD!!! - NOT MY WISH!!! > > Can you quote where in the standard it says this? I believe you are > incorrect. I'll try to find it - I left a lot of books back in Russia when I moved to the USA. And it was in Russian. > > I don't have a copy of the actual standard document, but Kernighan and > Ritchie say nothing more than "A pointer may be converted to an > integral type large enough to hold it; the required size is > implementation-dependent." This directly contradicts your claim. I > *do* have an early draft (from about a year ago) of the C9x standard > document, and it says the same thing, albeit in a lot more words. > > - Lowell > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Sincerely yours Mikhail Evstiounin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message