win32tty: fix lockfile error message

This commit is contained in:
nethack.allison
2003-09-01 02:03:11 +00:00
parent db8f58422a
commit d3901acac3
2 changed files with 4 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ General Fixes and Modified Features
Platform- and/or Interface-Specific Fixes
-----------------------------------------
win32tty: fix visible CRLF characters during lockfile error message
General New Features

View File

@@ -105,7 +105,9 @@ getlock()
# if defined(MSDOS) && defined(NO_TERMS)
int grmode = iflags.grmode;
# endif
#ifdef WIN32CON
if (iflags.rawio) set_output_mode(0);
#endif
/* we ignore QUIT and INT at this point */
if (!lock_file(HLOCK, LOCKPREFIX, 10)) {
wait_synch();