From 86330f79eec17a3c8fd2365e358d6f0ea807be23 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Fri, 4 Feb 2000 21:45:46 +0000 Subject: [PATCH] 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 --- mozilla/xpcom/io/nsPipe2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/xpcom/io/nsPipe2.cpp b/mozilla/xpcom/io/nsPipe2.cpp index 2a31d983dac..0ec0f925107 100644 --- a/mozilla/xpcom/io/nsPipe2.cpp +++ b/mozilla/xpcom/io/nsPipe2.cpp @@ -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; }