Name of gROOT

Hi all

Though it’s a stupid question, I found when I type gROOT->GetName() in the interactive ROOT I got "Rint", but in the source code of TROOT.cxx it’s instantiated by

TROOTAllocator(): fObj("root", "The ROOT of EVERYTHING")
      {}

where does the name of gROOT changed to “Rint”?

root.exe create a TRint object which derives from TApplication. TApplication sets the name of gROOT to be the user (here the user is root.exe and/or TRint) provided “application name”.