Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbatt!cwruecmp!hal!ncoast!allbery From: allbery@ncoast.UUCP Newsgroups: news.software.b,comp.lang.c Subject: Re: News for Xenix on PC AT ? Message-ID: <2446@ncoast.UUCP> Date: Thu, 30-Apr-87 19:41:45 EDT Article-I.D.: ncoast.2446 Posted: Thu Apr 30 19:41:45 1987 Date-Received: Sat, 2-May-87 14:17:07 EDT References: <18346@ucbvax.BERKELEY.EDU> <145@sds.UUCP> <17005@sun.uucp> <146@sds.UUCP> <2440@ulysses.homer.nj.att.com> <442@prairie.UUCP> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: news.software.b Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 29 Xref: utgpu news.software.b:552 comp.lang.c:1929 As quoted from <442@prairie.UUCP> by dan@prairie.UUCP (Daniel M. Frank): +--------------- | In article <2440@ulysses.homer.nj.att.com> jss@hector (Jerry Schwarz) writes: | >K&R: A pointer may be compared to an integer, but the result is | >machine dependent unless the integer is the constant 0. A pointer to | >which 0 has been assigned is guaranteed not to point to any object | >and will appear to be equal to 0 ... | | Oh. The VAX compiler and linker appear to arrange that (char *)0 | ALWAYS points to a null string. Other systems do the same (I believe | HP/UX does, given the unportability of code in a popular user-friendly | mail agent published on the this network). If the VAX would have the +--------------- Huh??? Our computer's linker (Plexus P/60, System V; Plexus P/35, System III on ncoast also) starts data segment allocatioon at address 2, so pointers to 0 and 1 are guaranteed to cause core dumps; Elm came up fine on both (barring the fact that someone installed it on ncoast by copying elm to /usr/local/bin instead of running "make install"...) ++Brando -- Copyright (C) 1987 Brandon S. Allbery -- you can redistribute only if your recipients can. Brandon S. Allbery {decvax,cbatt,cbosgd}!cwruecmp!ncoast!allbery Tridelta Industries {ames,mit-eddie,talcott}!necntc!ncoast!allbery 7350 Corporate Blvd. necntc!ncoast!allbery@harvard.HARVARD.EDU Mentor, OH 44060 +01 216 255 1080