Can anyone confirm that the following patch seems reasonable? Or am I seeing the results of anomalies I created/missed in the Buffer/Shuffler rewrites?
Memory size accounting error.
diff --git a/src/builtin_functions.c b/src/builtin_functions.c index 52534409d7..993ba05611 100644 --- a/src/builtin_functions.c +++ b/src/builtin_functions.c @@ -8262,6 +8262,7 @@ unsigned int rec_size_svalue( struct svalue *s, struct mapping **m ) case PIKE_T_FLOAT: case PIKE_T_FUNCTION: case PIKE_T_TYPE: + case PIKE_T_FREE: return 0; } if( !m ) return 0;
Without this fix, obviously perhaps, it coredumps. Inserting a PIKE_T_FREE in a mapping does not work.