[Mono-bugs] [Bug 40306][Wis] Changed - mono_assembly_open fails under WIN32 platform

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Wed, 26 Mar 2003 08:55:39 -0500 (EST)


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 gonzalo@ximian.com.

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

--- shadow/40306	Wed Mar 26 08:30:00 2003
+++ shadow/40306.tmp.19454	Wed Mar 26 08:55:39 2003
@@ -123,6 +123,19 @@
 
 Also if URL is file:///c:/a/b/c the result from my test program is:
 "/c:/a/b/c" which cannot be handled correctly under win32. 
 
 IMHO both cases (with or without third '/') mono_assembly_open
 definitely have a problem with file: URI under win32 platform. 
+
+------- Additional Comments From gonzalo@ximian.com  2003-03-26 08:55 -------
+~ $ gcc -mno-cygwin `pkg-config --cflags --libs glib-2.0` -o uri uri.c
+-lglib-2.0
+uri.c: In function `main':
+uri.c:5: warning: return type of `main' is not `int'
+~ $ ./uri.exe file:///c:/lala/lele
+c:\lala\lele
+
+It works under windows. If I try this under linux it returns
+'/c:/lala/lele'.
+
+So, does MS load the assembly when you use 'file://c:/assemblyname.dll'?