[Mono-list] Small diff to allow IBuySpy running off a virtual directory + a typecast fix

George Kodinov gkodinov@openlinksw.co.uk
Mon, 17 Mar 2003 20:17:58 +0200


Gonzalo,

I've actualy made a typo here :
It should be :

-                               string privatePath = 
AppDomain.CurrentDomain.SetupInformation.PrivateBinPath;
-                               //FIXME: remove the next line once 
multiple appdomains can work together
-                               if (privatePath == null) privatePath = 
"bin";
-                               //
+                               string privatePath = Path.Combine (
+                                  new Uri 
(AppDomain.CurrentDomain.SetupInformation.ApplicationBase).LocalPath, 
AppD        omain.CurrentDomain.SetupInformation.PrivateBinPath);

Sorry - this happends, when one is in a hurry :-)

Best Regards,
George Kodinov


Gonzalo Paniagua Javier wrote:

>Ugh. Forget about my previous mail.
>
>I'll commit your patch.
>
>Thanks George!
>
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>  
>