From: Nicholas Clark Date: Thu, 14 Apr 2011 19:59:01 +0000 (+0100) Subject: Convert C99 // comments to C89 /**/ comments. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0964064bcfadacdb0c280faf006ac6f587cf23f0;p=p5sagit%2FDevel-Size.git Convert C99 // comments to C89 /**/ comments. On some platforms, the only compilers are dogmatically C89. Remove the comment '?try', presumably a reference to a possible place to use __try/__except. There's something seriously wrong with the internal's data structures if the chain of magic pointers is corrupt - carrying on silently isn't a great idea. --- diff --git a/Size.xs b/Size.xs index 347dd1b..4a06f72 100644 --- a/Size.xs +++ b/Size.xs @@ -35,7 +35,7 @@ static int dangle_whine = 0; #define dbg_printf(x) #endif -#define TAG //printf( "# %s(%d)\n", __FILE__, __LINE__ ) +#define TAG /* printf( "# %s(%d)\n", __FILE__, __LINE__ ) */ #define carp puts /* The idea is to have a tree structure to store 1 bit per possible pointer @@ -308,7 +308,7 @@ IV magic_size(const SV * const thing, TRACKING *tv) { total_size += sizeof(MGVTBL); } - /* Get the next in the chain */ // ?try + /* Get the next in the chain */ magic_pointer = magic_pointer->mg_moremagic; } CAUGHT_EXCEPTION {