[comp.sources.bugs] Conquest dumps core!!

mwp@munnari.oz (Michael Paddon) (11/03/87)

Conquest compiled ok and seems to play ok at our site (4.2BSD) but
it dumps core during an update (conquest -x). The bug is in flee() which
resides in the file "move.c". Flee() calls some curses routines,
notably mvaddstr(), but unfortunately curses has not been initialized
when flee is called from update() directly and via monster().

My horrible-but-quick-hack of a fix was to bracket the call to update()
in main() with initscr() and endwin(). I am sure this is not the optimal
solution. Has anyone hit this problem and put more effort into a fix?

Another minor bug is in "update.c" about line 370. The pathname "/bin/sort"
is wired in. I don't know about other sites, but our sort resides in
/usr/bin.

						Michael Paddon
						==============

===========================
UUCP:	{seismo,mcvax,ukc,ubc-vision}!munnari!mwp
ARPA:	mwp%munnari.oz@seismo.css.gov
CSNET:	mwp%munnari.oz@australia