Nicholas Clark wrote:
On Tue, Nov 18, 2008 at 12:53:48AM -0600, John E. Malmberg wrote:

==== //depot/perl/intrpvar.h#238 (text) ====
Index: perl/intrpvar.h
--- perl/intrpvar.h#237~34831~  2008-11-14 04:37:01.000000000 -0800
+++ perl/intrpvar.h     2008-11-17 14:04:56.000000000 -0800
@@ -677,6 +677,8 @@
PERLVARI(Isv_serial, U32, 0) /* SV serial number, used in sv.c */
#endif

+PERLVARI(Ibreakable_sub_generation, U32, 0)
+
/* If you are adding a U8 or U16, check to see if there are 'Space' comments * above on where there are gaps which currently will be structure padding. */

This patch breaks building on VMS, as one of the resulting symbols is longer than 31 characters.

I did count it and found that it was somewhat under 32 (24, if I count it
correctly). How long is the longest prefix added to these strings to make
a symbol?

The macro expands to:

Perl_Ibreakable_sub_generation_ptr in global.c just below #ifdef DEBUG_LEAKING_SCALARS.

The macro adds 9 characters for a total of 33 assuming that you counted correctly.

-John
[EMAIL PROTECTED]
Personal Opinion Only

Reply via email to