]> granicus.if.org Git - gc/commitdiff
disclaim.c: Renamed RAW_BYTES_FROM_INDEX to GC_RAW_BYTES_FROM_INDEX according to...
authorPetter Urkedal <urkedal@nbi.dk>
Sat, 12 Jan 2008 12:34:11 +0000 (13:34 +0100)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 30 Sep 2011 13:34:42 +0000 (17:34 +0400)
README.disclaim: Patching instruction.

README.disclaim [new file with mode: 0644]
disclaim.c

diff --git a/README.disclaim b/README.disclaim
new file mode 100644 (file)
index 0000000..bb95cbe
--- /dev/null
@@ -0,0 +1,14 @@
+== Applying the Disclaim Patch ==
+
+Pick the patch closest in date to the version of GC you want to patch.
+
+1.  Unpack the source code, or make a copy of the CVS tree.
+
+2.  From the top level source directory, issue 'patch -p1 <PATCHFILE.patch'.
+    If it doesn't apply cleanly, you should try another GC/patch combination.
+
+3.  IMPORTANT: Run 'autoreconf -vi'.  This regenerates auto-generated files
+    which are not included in the patch.
+
+4.  Build, test and install the collector.  It's a very good idea to run
+    'make check' before installing.
index e61ddb0dfc008dcb5b7ea2e778e4b1274ca62e98..f06c818d3e3d30986a0ceb8ba0978481fef0b67a 100644 (file)
@@ -117,7 +117,7 @@ void * GC_finalized_malloc(size_t client_lb, struct GC_finalizer_closure *fclos)
             *my_fl = (ptr_t)my_entry + lg + 1;
             return GC_core_finalized_malloc(client_lb, fclos);
         } else {
-            GC_generic_malloc_many(RAW_BYTES_FROM_INDEX(lg),
+            GC_generic_malloc_many(GC_RAW_BYTES_FROM_INDEX(lg),
                                    GC_finalized_kind, my_fl);
             my_entry = *my_fl;
             if (my_entry == 0)