Branch: Tag:

2003-12-18

2003-12-18 18:48:24 by Martin Stjernholm <mast@lysator.liu.se>

Backported fix for destructed objects in describe_object.

Rev: lib/master.pike.in:1.252

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.251 2003/12/03 17:03:44 grubba Exp $ + // $Id: master.pike.in,v 1.252 2003/12/18 18:48:24 mast Exp $      #pike __REAL_VERSION__   
2521:   string describe_object(object|program o)   {    string s; +  if(zero_type (o)) return 0; // Destructed.       function parent_fun = object_program(o);    if(!parent_fun) return 0;