mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[NTVDM]
Properly initialize the CON device file descriptor when copying the system handle table. svn path=/trunk/; revision=67454
This commit is contained in:
@@ -102,7 +102,7 @@ VOID DosCopyHandleTable(LPBYTE DestinationTable)
|
||||
{
|
||||
PDOS_DEVICE_NODE Node = DosGetDriverNode(SysVars->ActiveCon);
|
||||
|
||||
Descriptor->DeviceInfo = 1 << 7;
|
||||
Descriptor->DeviceInfo = Node->DeviceAttributes | (1 << 7);
|
||||
Descriptor->DevicePointer = SysVars->ActiveCon;
|
||||
|
||||
/* Call the open routine */
|
||||
|
||||
Reference in New Issue
Block a user