# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #41326]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41326 >


This patch works around an obscure bug in Sun's WorkShop Compilers 4.2.  
With this patch, (and assuming RT #41324 and #41325 are applied, and 
assuming something else hasn't broken in the meantime) I can now 
successfully build parrot for the first time in a very very long time.  
This bug may have been part of the cause of most of the 900+ test failures 
I got last time I was able to complete 'make test'.  If I can confirm 
that, I'll go ahead and close the relevant tickets.

diff -r -u parrot-current/src/objects.c parrot-andy/src/objects.c
--- parrot-current/src/objects.c        Thu Jan  4 19:15:17 2007
+++ parrot-andy/src/objects.c   Tue Jan 23 10:34:39 2007
@@ -186,7 +186,8 @@
                 VTABLE_set_integer_keyed_str(interp, attr_offset_hash,
                         attr_name, cur_offset);
                 VTABLE_set_integer_keyed_str(interp, attr_offset_hash,
-                        full_name, cur_offset++);
+                        full_name, cur_offset);
+                cur_offset++;
             }
         }
     }

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to