From: nethack.allison Date: Mon, 1 Sep 2003 02:03:11 +0000 (+0000) Subject: win32tty: fix lockfile error message X-Git-Tag: MOVE2GIT~1823 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3901acac32e06725aeaa5ea19ff6bd9930692aa;p=nethack win32tty: fix lockfile error message --- diff --git a/doc/fixes34.3 b/doc/fixes34.3 index fa37da5cb..71ea15be1 100644 --- a/doc/fixes34.3 +++ b/doc/fixes34.3 @@ -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 diff --git a/sys/share/pcunix.c b/sys/share/pcunix.c index 79ff656f7..3a3f50fea 100644 --- a/sys/share/pcunix.c +++ b/sys/share/pcunix.c @@ -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();