Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDick Porter <dick@acm.org>2008-06-19 18:56:31 +0400
committerDick Porter <dick@acm.org>2008-06-19 18:56:31 +0400
commita4a491eac8bcbfb0a3e9c675600751dc20259d07 (patch)
treedf1344010861c6a750dca54062b5a6c60e3fa9d7 /mcs/class/System/System.Diagnostics/Process.cs
parentaf757e2e19bc16ef4213b390a91ff1fabe815f0b (diff)
2008-06-19 Dick Porter <dick@ximian.com>
* Process.cs: Match the buffer sizes of StreamWriter and MonoSyncFileStream for redirected stdout and stderr. Fixes bug 401225. svn path=/trunk/mcs/; revision=106217
Diffstat (limited to 'mcs/class/System/System.Diagnostics/Process.cs')
-rw-r--r--mcs/class/System/System.Diagnostics/Process.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System/System.Diagnostics/Process.cs b/mcs/class/System/System.Diagnostics/Process.cs
index 07ed17f498e..fa28855f542 100644
--- a/mcs/class/System/System.Diagnostics/Process.cs
+++ b/mcs/class/System/System.Diagnostics/Process.cs
@@ -1088,12 +1088,12 @@ namespace System.Diagnostics {
if (startInfo.RedirectStandardOutput == true) {
MonoIO.Close (stdout_wr, out error);
- process.output_stream = new StreamReader (new MonoSyncFileStream (process.stdout_rd, FileAccess.Read, true, 8192), stdoutEncoding);
+ process.output_stream = new StreamReader (new MonoSyncFileStream (process.stdout_rd, FileAccess.Read, true, 8192), stdoutEncoding, true, 8192);
}
if (startInfo.RedirectStandardError == true) {
MonoIO.Close (stderr_wr, out error);
- process.error_stream = new StreamReader (new MonoSyncFileStream (process.stderr_rd, FileAccess.Read, true, 8192), stderrEncoding);
+ process.error_stream = new StreamReader (new MonoSyncFileStream (process.stderr_rd, FileAccess.Read, true, 8192), stderrEncoding, true, 8192);
}
process.StartExitCallbackIfNeeded ();