You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2012/04/26 19:09:20 UTC

[lucy-commits] svn commit: r1330977 - /lucy/trunk/clownfish/src/CFCBindMethod.c

Author: marvin
Date: Thu Apr 26 17:09:19 2012
New Revision: 1330977

URL: http://svn.apache.org/viewvc?rev=1330977&view=rev
Log:
Revert some debugging code.

Modified:
    lucy/trunk/clownfish/src/CFCBindMethod.c

Modified: lucy/trunk/clownfish/src/CFCBindMethod.c
URL: http://svn.apache.org/viewvc/lucy/trunk/clownfish/src/CFCBindMethod.c?rev=1330977&r1=1330976&r2=1330977&view=diff
==============================================================================
--- lucy/trunk/clownfish/src/CFCBindMethod.c (original)
+++ lucy/trunk/clownfish/src/CFCBindMethod.c Thu Apr 26 17:09:19 2012
@@ -112,7 +112,6 @@ S_final_method_def(CFCMethod *method, CF
     CFCMethod_full_method_sym(method, klass, full_meth_sym, meth_sym_size);
     
     size_t offset_sym_size = CFCMethod_full_offset_sym(method, klass, NULL, 0); 
-    offset_sym_size += 50;
     char *full_offset_sym = (char*)MALLOCATE(offset_sym_size);
     CFCMethod_full_offset_sym(method, klass, full_offset_sym, offset_sym_size);
 
@@ -124,7 +123,7 @@ S_final_method_def(CFCMethod *method, CF
                   + strlen(full_func_sym)
                   + strlen(self_type)
                   + strlen(arg_names)
-                  + 200;
+                  + 20;
     char *method_def = (char*)MALLOCATE(size);
     sprintf(method_def, pattern, full_offset_sym, full_meth_sym, arg_names,
             full_func_sym, self_type, arg_names);