[Mono-bugs] [Bug 58194][Wis] Changed - Wsdl segfaults translating AmazonSearchService.wsdl from muine-0.6.0

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 7 May 2004 12:40:38 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=58194

--- shadow/58194	2004-05-07 11:17:16.000000000 -0400
+++ shadow/58194.tmp.478	2004-05-07 12:40:38.000000000 -0400
@@ -131,6 +131,38 @@
 configure:21198: result: /usr/bin/mcs
 configure:21207: checking for mono
 configure:21225: found /usr/bin/mono
 configure:21237: result: /usr/bin/mono
 [...]
 
+
+------- Additional Comments From lluis@ximian.com  2004-05-07 12:40 -------
+MONO_XMLSERIALIZER_THS is a variable checked at runtime, so it makes
+no difference defining it in the makefile.
+
+My question about mcs is you can execute the compiler by just typing
+'mcs', whithout the full path.
+
+Can you run this app and post the output you get? (don't define
+MONO_XMLSERIALIZER_THS before running this)
+
+using System;
+
+public class Test
+{
+	public static void Main ()
+	{
+		string db = Environment.GetEnvironmentVariable
+("MONO_XMLSERIALIZER_DEBUG");
+		Console.WriteLine ("DF:" + (db == null || db == "no"));
+		
+		string th = Environment.GetEnvironmentVariable
+("MONO_XMLSERIALIZER_THS");
+		if (th == null)
+			Console.WriteLine ("THS: null");
+		else if (th.ToLower() == "no")
+			Console.WriteLine ("THS: no");
+		else
+			Console.WriteLine ("THS: default");
+	}
+}
+