From owner-freebsd-current Tue Oct 10 13:53:32 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id NAA03836 for current-outgoing; Tue, 10 Oct 1995 13:53:32 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id NAA03830 for ; Tue, 10 Oct 1995 13:53:27 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA11050; Tue, 10 Oct 1995 13:49:02 -0700 From: Terry Lambert Message-Id: <199510102049.NAA11050@phaeton.artisoft.com> Subject: Re: tail dumps core To: pst@shockwave.com (Paul Traina) Date: Tue, 10 Oct 1995 13:49:02 -0700 (MST) Cc: wollman@lcs.mit.edu, terry@lambert.org, ache@astral.msk.su, Kai.Vorma@hut.fi, current@freebsd.org In-Reply-To: <199510101945.MAA02622@precipice.shockwave.com> from "Paul Traina" at Oct 10, 95 12:45:13 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 602 Sender: owner-current@freebsd.org Precedence: bulk > From: "Garrett A. Wollman" > Subject: Re: tail dumps core > > > memset(&i, 0, sizeof i); > if (i == 0) { > printf("your machine is normal\n"); > } else { > printf("your machine is really weird, but allowed by the" > " C standard\n"); > } > > > How could this possibly be allowed by the C standard? I'm utterly > confused. A non-two's complement machine? I defy you to purchase one, however. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.