[Mono-bugs] [Bug 76529][Min] New - [PATCH] cygwin: mono_set_rootdir
issue
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Oct 23 20:08:03 EDT 2005
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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=76529
--- shadow/76529 2005-10-23 20:08:03.000000000 -0400
+++ shadow/76529.tmp.9089 2005-10-23 20:08:03.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 76529
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details: cygwin
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: robertj at gmx.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] cygwin: mono_set_rootdir issue
+
+Under Cygwin, the mono root dir is computed from the current
+executable file name (see os/win32/util.c: mono_set_rootdir ()).
+
+This doesn't work, if the executable is not in Mono's bin dir, as
+it happens to libmono embedders.
+
+The patch enables embedders to call mono_assembly_setrootdir ()
+before creating the first app domain.
+
+W/out the patch, mono_assembly_setrootdir's work will be
+overwritten by mono_set_rootdir ().
More information about the mono-bugs
mailing list