Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!uhccux!munnari.oz.au!otc!metro!bunyip!griffin!greg From: greg@griffin.itc.gu.oz (Greg Watson) Newsgroups: comp.sources.games.bugs Subject: Bug in Nethack 3.0 Message-ID: <1989Jul31.123329.24949@griffin.itc.gu.oz> Date: 31 Jul 89 12:33:29 GMT Reply-To: greg@griffin.itc.gu.oz (Greg Watson) Organization: ITC, Griffith University, Brisbane, Australia Lines: 20 It's pretty frustrating when you go into a shop to sell some of your hard won (stolen?) goods and all you see is: Segmentation fault griffin% So here's what I think is causing the problem. It appears to be a typo on line 929 in shk.c. The diff looks something like this: 929c929 < || otmp->olet == BALL_SYM || ltmp == 0L) { --- > || obj->olet == BALL_SYM || ltmp == 0L) { This seems to fix the problem, and no other bugs have cropped up yet. BTW, if it makes any difference I'm using a Sun4/280 running 4.0.1. Comments from the authors would be appreciated. Greg