pike.git / src / builtin.cmod

version» Context lines:

pike.git/src/builtin.cmod:63:   #else    struct tm_extra { const char *tm_zone; };   #define GET_GMTOFF(TM) 0   #define GET_ZONE(this) ((this)->extra.tm_zone)   #define SET_GMTOFF(TM, VAL) (VAL)   #define SET_ZONE(this, VAL) ((this)->extra.tm_zone = (VAL))   #endif      static void gc_check_frame(struct pike_frame *f, const char *place)   { + #if 0    int marker_refs;    if (!f) return;    marker_refs = debug_gc_check(f, place);    if (marker_refs) return;    if(f->flags & PIKE_FRAME_MALLOCED_LOCALS)    {    if(f->current_object)    debug_gc_check (f->current_object, " as current_object in a frame");    if(f->current_program)    debug_gc_check (f->current_program, " as current_program in a frame");    debug_gc_check_svalues (f->locals - 1, 1, " in malloced locals of a frame");    gc_check_frame(f->scope, " as scope frame of a frame");    } -  + #endif   }      static void gc_recurse_frame(struct pike_frame *f)   {    /* BROKEN!    *    * In memory-count mode references from the frame are    * counted once per refrence to the frame. This leads    * to over counting and is due to there not being a    * separate struct mc_marker for the struct pike_frame.