2005-12-18 Alexandre Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
authorAlexandre Rocha Lima e Marcondes <alexandre@mono-cvs.ximian.com>
Wed, 28 Dec 2005 14:34:34 +0000 (14:34 -0000)
committerAlexandre Rocha Lima e Marcondes <alexandre@mono-cvs.ximian.com>
Wed, 28 Dec 2005 14:34:34 +0000 (14:34 -0000)
        * mkbundle.cs: Updated obsolete Alloc and Free (now its
AllocHeap and FreeHeap).

svn path=/trunk/mcs/; revision=54899

mcs/tools/mkbundle/ChangeLog
mcs/tools/mkbundle/mkbundle.cs

index 7a364a2ca715e9ea503fa0781fb4323ce91639eb..7d0fcc7cefc1b8bf10133cc8b40fc8a0eadb2794 100644 (file)
@@ -1,5 +1,10 @@
+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.
index 5ac6e537211804823004055920f3a41d4315aa3a..959e0d6e14627223eddabcd56ecb5814d2dd0d2b 100644 (file)
@@ -480,7 +480,7 @@ class MakeBundle {
                
        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;
@@ -490,7 +490,7 @@ class MakeBundle {
                if (os == "Darwin")
                        style = "osx";
                
-               UnixMarshal.Free (buf);
+               UnixMarshal.FreeHeap(buf);
        }
        
 }