Reverted my last changes which allows to read from a listening pipe.
Modified: trunk/reactos/drivers/fs/np/rw.c
--- trunk/reactos/drivers/fs/np/rw.c 2005-03-25 11:25:44 UTC (rev 14306) +++ trunk/reactos/drivers/fs/np/rw.c 2005-03-25 11:45:48 UTC (rev 14307) @@ -283,8 +283,7 @@
goto done; }
- if (Fcb->PipeState != FILE_PIPE_CONNECTED_STATE &&
- !(Fcb->PipeState == FILE_PIPE_LISTENING_STATE && Fcb->PipeEnd == FILE_PIPE_SERVER_END))
+ if (Fcb->PipeState != FILE_PIPE_CONNECTED_STATE)
{ DPRINT("PipeState: %x\n", Fcb->PipeState); Status = STATUS_PIPE_BROKEN;