[Pkg-mono-svn-commits] [SCM] mono branch, master, updated. debian/2.4.4.svn151842-1-9-g8faa895
Mirco Bauer
meebey at meebey.net
Sun Apr 25 12:36:11 UTC 2010
The following commit has been merged in the master branch:
commit a497648aa61e83cd9fe8ade3a0ce2bc170400b7a
Author: Mirco Bauer <meebey at meebey.net>
Date: Sun Apr 25 14:06:11 2010 +0200
Fixed NRE when using the attach parameter of csharp.
diff --git a/mcs/tools/csharp/repl.cs b/mcs/tools/csharp/repl.cs
index 75bc3d4..2518f69 100644
--- a/mcs/tools/csharp/repl.cs
+++ b/mcs/tools/csharp/repl.cs
@@ -199,7 +199,7 @@ namespace Mono {
public int ReadEvalPrintLoop ()
{
- if (startup_files.Length == 0)
+ if (startup_files != null && startup_files.Length == 0)
InitTerminal ();
InitializeUsing ();
--
mono
More information about the Pkg-mono-svn-commits
mailing list