Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-unix!hplabs!amdcad!phil From: phil@amdcad.UUCP Newsgroups: comp.arch Subject: catering to bad code Message-ID: <14833@amdcad.UUCP> Date: Wed, 18-Feb-87 14:22:40 EST Article-I.D.: amdcad.14833 Posted: Wed Feb 18 14:22:40 1987 Date-Received: Thu, 19-Feb-87 20:37:14 EST Organization: AMDCAD, Sunnyvale, CA Lines: 20 In a Unix system I am designing, I am considering catering to bad code. That is, like the VAX I propose to make location 0 contain a readable 0. I think that code which gets ported to a Sun machine often has to have this kind of thing cleaned up. What do people think of this? Is it kind of disgusting? Just how much code has this problem? Did every program you ported to a Sun have to be fixed, or 10%, or something in between? I'd like to do things right, but I'm also lazy. I think doing this will save me a lot of work. Have I overlooked anything? The processor has a relocatable vector area so I can easily map the vector table somewhere else. -- How can I be Asian when I like milk so much? Phil Ngai +1 408 982 7840 UUCP: {ucbvax,decwrl,hplabs,allegra}!amdcad!phil ARPA: amdcad!phil@decwrl.dec.com