Commit Graph

46 Commits

Author SHA1 Message Date
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
nethack.allison
658ee6436a #R667: a bug in character naming
- strip out '?' and several others.
- this means that people specifying character names
  fred? and fred* will collide. Oh well.
2002-03-23 23:05:08 +00:00
nethack.allison
87a86749ff win32gui: make error() work
- in 3.4.0 it was useless in the graphical port.
2002-03-23 22:47:44 +00:00
jwalz
bab78d03c8 Lint part 1, unused variables, routines, and return codes. 2002-03-10 00:30:53 +00:00
nethack.allison
58c1d99bb8 win32 uses included uudecode utility 2002-03-01 05:06:48 +00:00
nethack.allison
75945c9056 sys/share/uudecode.c
This was added to allow the build on some platforms to be
completed without external utilities beyond the compiler.
2002-02-28 18:32:28 +00:00
nethack.rankin
1f6484473f resync generated files 2002-02-05 22:12:41 +00:00
nethack.allison
7d1e6f7d57 from Yitzhak
Add absent prototypes to some core routines.
Also add some port function() to function(void) in some win32 routines.
Also updates the Borland C Makefile for win32.
2002-02-05 13:21:43 +00:00
nethack.allison
742e1e8c90 3.3.2 to 3.4.0 2002-02-04 16:11:00 +00:00
nethack.rankin
bbf7ada0dd micro fopenp() fix
From a bug report.  I can't test this fix, but
inspection of the code shows that his suggested fix is clearly
necessary.  Once `bp' gets incremented, storing via `bp[BUFSZ-1]'
writes beyond the bounds of `buf' and clobbers something.
2002-01-23 07:12:58 +00:00
nethack.rankin
daf7cda0ee generated lex output 2002-01-22 09:27:01 +00:00
kmhugo
bd49d4a6df Remove files duplicated in devteam module 2002-01-19 05:39:57 +00:00
nethack.allison
e02ab47597 Changes to existing files by the win32 port additions. 2002-01-13 05:53:39 +00:00
nethack.rankin
fbcf710621 update lex output 2002-01-13 04:16:04 +00:00
jwalz
e3820d79f3 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz
5f71f70e43 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz
8ce3f83615 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz
5d9d444b3b *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz
bd79ae0ce5 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz
7a555e48f0 *** empty log message *** 2002-01-05 21:05:59 +00:00
jwalz
5e8bb27eb2 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
70a857f0ef *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
fd6ad2e384 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
7517e94529 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
028408e123 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
a68a31266a *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
6f06692e43 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
40d3cd6981 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
819381cf20 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
7bf716c071 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
16118bd77a *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
79c4d04362 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
0e2129bb79 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
5fc1025235 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
6623610de9 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
606b22c7d0 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
b282687e06 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
b4f3a16892 *** empty log message *** 2002-01-05 21:05:58 +00:00
jwalz
4f47bab4a5 *** empty log message *** 2002-01-05 21:05:57 +00:00
jwalz
817831ff79 *** empty log message *** 2002-01-05 21:05:57 +00:00
jwalz
f091552c01 *** empty log message *** 2002-01-05 21:05:57 +00:00
jwalz
aa05976b81 *** empty log message *** 2002-01-05 21:05:57 +00:00
jwalz
df2410195b *** empty log message *** 2002-01-05 21:05:57 +00:00
jwalz
a2622331ec *** empty log message *** 2002-01-05 21:05:57 +00:00
jwalz
7477791a75 *** empty log message *** 2002-01-05 21:05:57 +00:00
jwalz
db70651cec *** empty log message *** 2002-01-05 21:05:57 +00:00