Branch: Tag:

2011-10-28

2011-10-28 13:04:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Atomic megapatch: Use svalue accessor macros everywhere.

621:    {    num=throw_value.u.integer;    }else{ -  if (throw_value.type == T_OBJECT && +  if (TYPEOF(throw_value) == T_OBJECT &&    throw_value.u.object->prog == master_load_error_program &&    !get_master()) {    /* Report this specific error in a nice way. Since there's no
637:    err = (struct generic_error_struct *)    get_storage (Pike_sp[-1].u.object, generic_error_program);    -  t.type = PIKE_T_STRING; -  t.u.string = err->error_message; +  SET_SVAL(t, PIKE_T_STRING, 0, string, err->error_message);       init_buf(&buf);    describe_svalue(&t,0,0);