Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!jesup From: jesup@cbmvax.commodore.com (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: ?? Bug In SKSH ?????? Message-ID: <15988@cbmvax.commodore.com> Date: 20 Nov 90 18:40:52 GMT References: <0093FFDD.98022880@lne.kth.se> Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) Organization: Commodore, West Chester, PA Lines: 23 In article <0093FFDD.98022880@lne.kth.se> stenkvist@lne.kth.se writes: >I'm trying to get SKSH (the Unix like shell ) to work on my Amiga, but there > seems to be a bug when used together with the A590 harddisc. When i start > SKSH it newer alters the path. ... > This was all very confusing > so I tried to disconnect the hard drive and start from >a ordinar disc. This worked fine, The SKSH you're using must have a problem with NULL pointers. Some versions of the A590 roms put values in location 0, and SKSH must not be checking for NULL before dereferencing pointers. Note that any program that dereferences NULL is incorrect and is liekly to break if for some reason location 0 is non-0. There is NO guarantee that location 0 will be 0, and never has been (see the earlier discussion here on that). The "enforcer" utility catches references to 0 (as well as other low and illegal memory accesses). -- Randell Jesup, Keeper of AmigaDos, Commodore Engineering. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup Thus spake the Master Ninjei: "If your application does not run correctly, do not blame the operating system." (From "The Zen of Programming") ;-)