Author: aandrejevic Date: Sun Apr 26 23:24:21 2015 New Revision: 67454
URL: http://svn.reactos.org/svn/reactos?rev=67454&view=rev Log: [NTVDM] Properly initialize the CON device file descriptor when copying the system handle table.
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/handle.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/handle.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/d... ============================================================================== --- trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/handle.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/handle.c [iso-8859-1] Sun Apr 26 23:24:21 2015 @@ -102,7 +102,7 @@ { 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 */