>nhversion: 3.4.1 > > nhfrom: 3.4.1 Official binary release for Windows 95/98/NT/2000/Me/XP > (nh341win.zip) > comments: Whenever I run NethackW.exe, the nethack window > appears, and does not run anything. When I close out of the > program, I get this message: > Waiting for access to C:\GAMES\NETHACK341\record. (X retries left). > The X seems to always be either 9 or 59. I don't know how to fix this > > problem, any help would be greatly appreciated <Someone> writes: >win32 open() returns -1 if failed - same as POSIX open(). > There is no STDIN in GUI applications so 0 is a valid return > value from open(). > So it should read like that unless that breaks Amiga code: Since I can't test the Amiga code, I added a macro OPENFAILURE to keep the Amiga code the same as it is now. It should probably be reviewed by someone on the Amiga team to verify if open() on the Amiga returns 0 or -1 on failure. If the latter, the macro could be removed completely.
6.5 KiB
6.5 KiB