Re: [ROOT] bug&quest

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Jun 06 2001 - 12:55:14 MEST


Hi Valeriy,


Valeriy Onuchin wrote:
> 
>  Hi Rooters,
> I'm on  RH6.1 ROOT v.3.01.02
> 
> -  TSystem::Unsetenv(value) ->gives seg.err if value is not set
>    I think it can be fixed in TSystem::Unsetenv(value) { Setenv(value,""); }
>    Actually, I can't see the difference between 0 and "", but it works
> 

I've fixed this.

> - I need possibilty to RESET ROOT session to it's initial state.
>   like exit/restart .
>     gInterpreter->ResetAll() just crashes everything (!?)
>
There are some issues here we need to discuss with Masa. Lets do that
during the workshop.
 
> -  I like STL appeared in CINT, but when I use iterators CINT claims
>    that operator != not defined, although operator == is defined
>    Could you add this?
> 
Idem.

> ++
> 
>   How can I determine that some variable is known to CINT?
>   One solution is
>      gROOT->UpdateListOfGlobals();
>      gROOT->GetListOfGlobals()->FindObject(name)
>    but I hope that simpler way should exists.
> 
Without using raw cint api you have to use the above, or:

   gROOT->GetGlobal(name, kTRUE);



Cheers, Fons.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:48 MET