Author: ekohl
Date: Sat Jan 31 15:58:00 2015
New Revision: 66125
URL:
http://svn.reactos.org/svn/reactos?rev=66125&view=rev
Log:
[NPFS]
Fix a little logical error. This should fix the ntdll pipe winetest.
Modified:
trunk/reactos/drivers/filesystems/npfs/fileinfo.c
Modified: trunk/reactos/drivers/filesystems/npfs/fileinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/f…
==============================================================================
--- trunk/reactos/drivers/filesystems/npfs/fileinfo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/npfs/fileinfo.c [iso-8859-1] Sat Jan 31 15:58:00
2015
@@ -58,7 +58,7 @@
if (Buffer->CompletionMode != FILE_PIPE_COMPLETE_OPERATION ||
Ccb->CompletionMode[NamedPipeEnd] == FILE_PIPE_COMPLETE_OPERATION ||
- (ReadQueue->QueueState == ReadEntries &&
+ (ReadQueue->QueueState != ReadEntries &&
WriteQueue->QueueState != WriteEntries))
{
Ccb->ReadMode[NamedPipeEnd] = Buffer->ReadMode & 0xFF;