]> granicus.if.org Git - nethack/commitdiff
win32tty: fix lockfile error message
authornethack.allison <nethack.allison>
Mon, 1 Sep 2003 02:03:11 +0000 (02:03 +0000)
committernethack.allison <nethack.allison>
Mon, 1 Sep 2003 02:03:11 +0000 (02:03 +0000)
doc/fixes34.3
sys/share/pcunix.c

index fa37da5cb7b97cad3bcb6650c9c482b86567f188..71ea15be1f29a08390f7e6afdc0838831c395807 100644 (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
index 79ff656f7457c04559a8f39ef2a3e7676cb78de0..3a3f50feab8b31338d6743ab01f2711d382b9121 100644 (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();