Branch: Tag:

2008-05-27

2008-05-27 19:36:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

DON'T use low_clone() unless you know what you're doing...
All error object should now be cloned with fast_clone_object() or better.
Reinstated the freeing of err->error_message and err->error_backtrace now that the error objects are properly initialized.
Added some more Autodoc mk II about the compiler.

Rev: src/cpp.c:1.170
Rev: src/dynamic_load.c:1.92
Rev: src/error.c:1.162
Rev: src/object.c:1.293
Rev: src/program.c:1.707

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: dynamic_load.c,v 1.91 2008/04/26 19:04:25 grubba Exp $ + || $Id: dynamic_load.c,v 1.92 2008/05/27 19:36:00 grubba Exp $   */      #ifdef TESTING
440:       if(!module)    { -  struct object *err_obj = low_clone (module_load_error_program); +  struct object *err_obj = fast_clone_object(module_load_error_program);   #define LOADERR_STRUCT(OBJ) \    ((struct module_load_error_struct *) (err_obj->storage + module_load_error_offset))