From 474cd6a3e3281ce03b4e7b1a3726623e342fca0b Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Wed, 18 May 2005 17:17:34 +0000 Subject: [PATCH] Fix usetup. This hack needs to remain even though it's incorrect since it's what ROS expects. I am working on rewriting IoCreateFile so these hacks can go away. Please do not remove it svn path=/trunk/; revision=15392 --- reactos/ntoskrnl/io/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/io/file.c b/reactos/ntoskrnl/io/file.c index 63bef104fd8..472930a8c3f 100644 --- a/reactos/ntoskrnl/io/file.c +++ b/reactos/ntoskrnl/io/file.c @@ -1148,7 +1148,7 @@ IoCreateStreamFileObject(PFILE_OBJECT FileObject, CreatedFileObject->Vpb = DeviceObject->Vpb; CreatedFileObject->Type = IO_TYPE_FILE; /* HACK */ - //CreatedFileObject->Flags |= FO_DIRECT_DEVICE_OPEN; + CreatedFileObject->Flags |= FO_DIRECT_DEVICE_OPEN; CreatedFileObject->Flags |= FO_STREAM_FILE; /* Initialize Lock and Event */