[Mono-bugs] [Bug 29541][Wis] New - mono_set_rootdir() breaks under plain windows
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
27 Aug 2002 23:14:37 -0000
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 dick@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=29541
--- shadow/29541 Tue Aug 27 19:14:37 2002
+++ shadow/29541.tmp.31190 Tue Aug 27 19:14:37 2002
@@ -0,0 +1,29 @@
+Bug#: 29541
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: dick@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mono_set_rootdir() breaks under plain windows
+
+Both mint and mono call mono_set_rootdir() to override the compile-time
+assembly location with a run time relative path. This breaks when running
+the windows builds outside of cygwin.
+
+Debug prints show "file loading ./../lib\corlib.dll". The mix of '/' and
+'\' isnt the problem, as the function quite happily loads
+"C:/cygwin/home/dick/mono/install/lib\corlib.dll" when I remove the
+mono_set_rootdir() call.
+
+Further investigation shows that it also works if I first cd to a location
+where ../lib/corlib.dll is a valid relative path.