Files
nethack/src
nethack.allison 67604538c6 #R668: Windows 2000 Lock File Creation Error
This was a tricky one.  While the error was ultimately because
he was specifying a non-existant directory in defaults.nh, the
error message lead me to the wrong area until I traced through
with a debugger.

It turns out that an fqn buffer was being re-used before it
was finished being used with the original information in
sys/share/pcunix.c, so the error message listed the
wrong file!

This adds one more buffer and fixes the problem.
Note that it could only affect plaforms with
PREFIXES_IN_USE defined  (NOCWD_ASSUMPTIONS
or VAR_PLAYGROUND)

It also alters the WIN32 error message to give them a
hint as to what the problem might be.

<email deleted>
<email deleted>
Sent: Saturday, March 23, 2002 9:27 AM
Subject: #R668: Windows 2000 Lock File Creation Error
> nhfrom: 3.4.0 Official binary release for Windows 95/98/NT/2000/Me/XP
> I get an error after unzipping nethack to c:\nethack, and changing the
> configuration (defaults.nh) to reflect this in the hackdir, levels and save
> configuration items.
>
> The error I get is "cannot creat lock file (C:\nethack\NHPERM_lock.)" after
> entering nethack at the command line and answering the Who are you? question.
2002-03-24 01:37:16 +00:00
..
2002-01-18 02:50:06 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-19 05:13:50 +00:00
2002-03-23 04:37:02 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-12 22:41:48 +00:00
2002-02-04 16:06:00 +00:00
2002-03-09 01:59:47 +00:00
2002-02-09 00:16:35 +00:00
2002-03-18 07:30:48 +00:00
2002-02-09 00:16:35 +00:00
2002-02-04 16:06:00 +00:00
2002-02-13 06:52:46 +00:00
2002-03-09 06:55:52 +00:00
2002-03-11 08:46:54 +00:00
2002-03-11 08:00:21 +00:00
2002-03-23 22:11:07 +00:00
2002-03-10 04:05:59 +00:00
2002-03-10 17:35:16 +00:00
2002-03-13 07:40:47 +00:00
2002-03-23 06:53:09 +00:00
2002-03-18 02:24:35 +00:00
2002-03-10 04:05:59 +00:00
2002-02-04 16:06:00 +00:00
2002-03-23 17:27:52 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-11 08:46:54 +00:00
2002-02-04 16:06:00 +00:00
2002-02-26 07:36:30 +00:00
2002-02-04 16:06:00 +00:00
2002-03-05 06:21:05 +00:00
2002-02-04 16:06:00 +00:00
2002-03-03 05:29:30 +00:00
2002-03-10 04:05:59 +00:00
2002-03-10 04:05:59 +00:00
2002-02-27 05:15:48 +00:00
2002-02-27 05:15:48 +00:00
2002-02-06 06:56:53 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-13 11:22:03 +00:00
2002-03-18 06:58:18 +00:00
2002-02-04 16:06:00 +00:00
2002-03-11 08:00:21 +00:00
2002-02-04 16:06:00 +00:00
2002-03-10 04:05:59 +00:00
2002-02-16 03:50:55 +00:00
2002-02-09 00:24:49 +00:00
2002-02-25 01:02:55 +00:00
2002-02-04 16:06:00 +00:00
2002-02-14 02:33:52 +00:00
2002-03-23 12:08:19 +00:00
2002-03-20 06:33:45 +00:00
2002-02-04 16:06:00 +00:00
2002-02-27 02:17:01 +00:00
2002-03-23 12:43:11 +00:00
2002-03-09 02:56:46 +00:00
2002-02-04 16:06:00 +00:00
2002-02-19 05:10:31 +00:00
2002-02-04 16:06:00 +00:00
2002-03-23 12:08:19 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-09 18:39:54 +00:00
2002-03-10 04:05:59 +00:00
2002-02-04 16:11:00 +00:00
2002-02-27 05:15:48 +00:00
2002-03-06 19:02:49 +00:00
2002-02-09 00:30:33 +00:00
2002-02-21 03:33:42 +00:00
2002-02-24 05:38:57 +00:00
2002-03-12 21:30:05 +00:00
2002-03-11 08:46:54 +00:00
2002-03-11 08:00:21 +00:00
2002-02-20 02:33:14 +00:00
2002-02-04 16:11:00 +00:00
2002-02-04 16:11:00 +00:00
2002-03-17 08:19:21 +00:00
2002-03-10 04:05:59 +00:00
2002-02-24 06:56:02 +00:00
2002-02-04 16:11:00 +00:00
2002-03-02 00:57:52 +00:00
2002-02-04 16:11:00 +00:00
2002-02-13 17:31:07 +00:00
2002-03-09 02:58:46 +00:00
2002-03-09 01:59:47 +00:00
2002-02-04 16:11:00 +00:00
2002-03-09 01:59:47 +00:00
2002-02-09 00:30:33 +00:00