win32tty: fix lockfile error message
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user