* dtable.cc (fh_alloc): Treat pc.dev as unsigned.
* fhandler_console.cc (fhandler_console::set_unit): Use lock always to avoid races between competing cygwin processes running on the console.
This commit is contained in:
@ -478,7 +478,7 @@ fh_alloc (path_conv& pc)
|
||||
fh = cnew (fhandler_console, pc.dev);
|
||||
break;
|
||||
default:
|
||||
switch ((int) pc.dev)
|
||||
switch ((DWORD) pc.dev)
|
||||
{
|
||||
case FH_CONSOLE:
|
||||
case FH_CONIN:
|
||||
|
Reference in New Issue
Block a user