Change 30122 by [EMAIL PROTECTED] on 2007/02/04 22:37:19

        Clear up a maint specific compiler warning - in 5.8.x we have more
        than 16 entries in the arena data structures, so SVt_PTE is > 15,
        so won't fit in 4 bits. It's not actually needed by the sanity test,
        so change its "type" to 0.

Affected files ...

... //depot/maint-5.8/perl/sv.c#340 edit

Differences ...

==== //depot/maint-5.8/perl/sv.c#340 (text) ====
Index: perl/sv.c
--- perl/sv.c#339~30110~        2007-02-03 11:00:21.000000000 -0800
+++ perl/sv.c   2007-02-04 14:37:19.000000000 -0800
@@ -914,10 +914,10 @@
     { sizeof(XPVIO), sizeof(XPVIO), 0, SVt_PVIO, TRUE, HADNV,
       HASARENA, FIT_ARENA(24, sizeof(XPVIO)) },
 
+    /* These two are the 17th and 18th entries in the array, so beyond the
+       all the regular SV types.  */
     { sizeof(struct ptr_tbl_ent), /* This is used for PTEs.  */
-      0, 0, PTE_SVSLOT, FALSE, NONV,
-      NOARENA /* IVS don't need an arena  */,
-      /* But PTEs need to know the size of their arena  */
+      0, 0, 0, FALSE, NONV, NOARENA,
       FIT_ARENA(0, sizeof(struct ptr_tbl_ent))
     },
 
End of Patch.

Reply via email to