[Mono-dev] patch for mbuild MBFile.cs

Atsushi Eno atsushi at ximian.com
Thu Dec 1 20:54:48 EST 2005


Hi Peter,

I noticed that the latest mcs does not build mbuild because
conversion from uint to System.IO.FilePermission fails (and it
should fail). I think there you can use Mono.Posix to set
executable permission. Also changed runtime detection part to
use Environment.OSVersion.Platform (mono and .net 2.0 returns 4).

(I guess you don't avoid mono dependency since it uses
Mono.GetOptions.dll, but in case you do then it could be done
by reflection).

Cheers,
Atsushi Eno
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mbfile.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051202/9dc5d29a/attachment.pl 


More information about the Mono-devel-list mailing list