]> granicus.if.org Git - nethack/commit
dungeon open failure
authornethack.allison <nethack.allison>
Sun, 7 May 2006 14:32:04 +0000 (14:32 +0000)
committernethack.allison <nethack.allison>
Sun, 7 May 2006 14:32:04 +0000 (14:32 +0000)
commit1a01343c6386ad5e75a0e35ae8393d8338fe22c6
tree3bda04b9b6c668f04399c49b5fa0716d4545dbd2
parenta71d270a21b36d7b4d3b89e714358819314b059d
dungeon open failure

We've been getting numerous complaints from people
about "dungeon failure", often related to attempts
to start NetHack from within various zip utilities
that present a folder-like view.

The dungeon failure was actually misleading. The
real problem was a dlb file open failure, but the
return value of dlb_init() was not being checked
in pcmain.

This moves the dlb_init earlier in the startup,
checks for failure, and provides some feedback
around the common zip utility problem for win32.
doc/fixes35.0
sys/share/pcmain.c