Back out the changes to the pipe code to fix regression bugs: 26533 and one i forgot the number of. =)
r=warren a=leaf git-svn-id: svn://10.0.0.236/trunk@59785 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -625,7 +625,8 @@ nsPipe::nsPipeOutputStream::WriteSegments(nsReadSegmentFun reader,
|
||||
nsAutoCMonitor mon(pipe);
|
||||
|
||||
*writeCount = 0;
|
||||
if (NS_FAILED(pipe->mCondition)) {
|
||||
if (NS_FAILED(pipe->mCondition)
|
||||
&& pipe->mCondition != NS_BASE_STREAM_CLOSED) {
|
||||
rv = pipe->mCondition;
|
||||
goto done;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user