* mkbundle.cs: Updated obsolete Alloc and Free (now its
AllocHeap and FreeHeap).
svn path=/trunk/mcs/; revision=54899
+2005-12-18 Alexandre Rocha Lima e Marcondes
+<alexandre@psl-pr.softwarelivre.org>
-Thu Dec 1 13:01:54 EST 2005 Paolo Molaro <lupus@ximian.com>
+ * mkbundle.cs: Updated obsolete Alloc and Free (now its AllocHeap and
+ FreeHeap).
+
+2005-12-01 Paolo Molaro <lupus@ximian.com>
* mkbundle.cs: add warning for --static. Handle --static for non-linux
systems.
static void DetectOS ()
{
- IntPtr buf = UnixMarshal.Alloc (8192);
+ IntPtr buf = UnixMarshal.AllocHeap(8192);
if (uname (buf) != 0){
Console.WriteLine ("Warning: Unable to detect OS");
return;
if (os == "Darwin")
style = "osx";
- UnixMarshal.Free (buf);
+ UnixMarshal.FreeHeap(buf);
}
}