Check return value of getenv (Coverity). Avoid copy into std::string.
Check return value of getenv (Coverity).
Avoid copy into std::string.


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@37093 27541ba8-7e3a-0410-8455-c3a389f83636

Y--/root,arch1tect0r/root,evgeny-boger/root,Dr15Jones/root,zzxuanyuan/root-compressor-dummy,krafczyk/root,esakellari/my_root_for_test,karies/root,gganis/root,mhuwiler/rootauto,kirbyherm/root-r-tools,davidlt/root,evgeny-boger/root,esakellari/root,arch1tect0r/root,mkret2/root,strykejern/TTreeReader,zzxuanyuan/root,simonpf/root,smarinac/root,esakellari/root,smarinac/root,smarinac/root,agarciamontoro/root,sbinet/cxx-root,veprbl/root,beniz/root,root-mirror/root,ffurano/root5,abhinavmoudgil95/root,krafczyk/root,sawenzel/root,Y--/root,bbockelm/root,sawenzel/root,evgeny-boger/root,lgiommi/root,thomaskeck/root,Dr15Jones/root,gganis/root,mhuwiler/rootauto,beniz/root,esakellari/my_root_for_test,root-mirror/root,omazapa/root,mattkretz/root,CristinaCristescu/root,sirinath/root,smarinac/root,abhinavmoudgil95/root,jrtomps/root,davidlt/root,root-mirror/root,davidlt/root,nilqed/root,CristinaCristescu/root,kirbyherm/root-r-tools,simonpf/root,karies/root,omazapa/root,esakellari/my_root_for_test,perovic/root,Dr15Jones/root,davidlt/root,satyarth934/root,abhinavmoudgil95/root,agarciamontoro/root,alexschlueter/cern-root,lgiommi/root,gbitzes/root,olifre/root,abhinavmoudgil95/root,smarinac/root,alexschlueter/cern-root,esakellari/root,buuck/root,karies/root,omazapa/root,vukasinmilosevic/root,jrtomps/root,buuck/root,omazapa/root-old,mattkretz/root,gbitzes/root,thomaskeck/root,omazapa/root-old,Dr15Jones/root,Duraznos/root,pspe/root,sbinet/cxx-root,sawenzel/root,davidlt/root,Y--/root,mkret2/root,beniz/root,BerserkerTroll/root,0x0all/ROOT,smarinac/root,BerserkerTroll/root,beniz/root,veprbl/root,abhinavmoudgil95/root,omazapa/root,omazapa/root-old,karies/root,beniz/root,Duraznos/root,BerserkerTroll/root,vukasinmilosevic/root,0x0all/ROOT,dfunke/root,mhuwiler/rootauto,kirbyherm/root-r-tools,thomaskeck/root,zzxuanyuan/root-compressor-dummy,beniz/root,zzxuanyuan/root-compressor-dummy,agarciamontoro/root,georgtroska/root,root-mirror/root,sirinath/root,jrtomps/root,sbinet/cxx-root,bbockelm/root,Y--/root,pspe/root,mhuwiler/rootauto,mattkretz/root,kirbyherm/root-r-tools,jrtomps/root,tc3t/qoot,mhuwiler/rootauto,esakellari/my_root_for_test,karies/root,bbockelm/root,BerserkerTroll/root,mkret2/root,cxx-hep/root-cern,cxx-hep/root-cern,zzxuanyuan/root-compressor-dummy,ffurano/root5,tc3t/qoot,zzxuanyuan/root-compressor-dummy,arch1tect0r/root,sirinath/root,tc3t/qoot,gganis/root,vukasinmilosevic/root,simonpf/root,zzxuanyuan/root-compressor-dummy,perovic/root,olifre/root,pspe/root,mattkretz/root,mhuwiler/rootauto,perovic/root,satyarth934/root,olifre/root,sbinet/cxx-root,olifre/root,ffurano/root5,dfunke/root,gganis/root,olifre/root,gganis/root,karies/root,sbinet/cxx-root,satyarth934/root,veprbl/root,veprbl/root,sbinet/cxx-root,lgiommi/root,mhuwiler/rootauto,simonpf/root,root-mirror/root,root-mirror/root,thomaskeck/root,mkret2/root,esakellari/root,thomaskeck/root,CristinaCristescu/root,veprbl/root,zzxuanyuan/root,root-mirror/root,thomaskeck/root,zzxuanyuan/root,tc3t/qoot,esakellari/my_root_for_test,davidlt/root,vukasinmilosevic/root,kirbyherm/root-r-tools,thomaskeck/root,veprbl/root,pspe/root,Y--/root,agarciamontoro/root,alexschlueter/cern-root,sbinet/cxx-root,Y--/root,gbitzes/root,buuck/root,sawenzel/root,jrtomps/root,krafczyk/root,georgtroska/root,sawenzel/root,sbinet/cxx-root,mkret2/root,strykejern/TTreeReader,agarciamontoro/root,perovic/root,satyarth934/root,dfunke/root,georgtroska/root,georgtroska/root,simonpf/root,beniz/root,Duraznos/root,mkret2/root,simonpf/root,buuck/root,karies/root,buuck/root,omazapa/root,strykejern/TTreeReader,satyarth934/root,sirinath/root,gganis/root,pspe/root,dfunke/root,beniz/root,jrtomps/root,nilqed/root,pspe/root,veprbl/root,lgiommi/root,mattkretz/root,karies/root,perovic/root,beniz/root,agarciamontoro/root,dfunke/root,lgiommi/root,sirinath/root,dfunke/root,nilqed/root,mattkretz/root,simonpf/root,lgiommi/root,evgeny-boger/root,evgeny-boger/root,perovic/root,veprbl/root,omazapa/root,zzxuanyuan/root,esakellari/my_root_for_test,mkret2/root,Y--/root,mhuwiler/rootauto,cxx-hep/root-cern,karies/root,Duraznos/root,nilqed/root,strykejern/TTreeReader,sirinath/root,strykejern/TTreeReader,nilqed/root,arch1tect0r/root,georgtroska/root,dfunke/root,0x0all/ROOT,davidlt/root,Dr15Jones/root,cxx-hep/root-cern,omazapa/root-old,buuck/root,jrtomps/root,sirinath/root,pspe/root,gbitzes/root,CristinaCristescu/root,beniz/root,jrtomps/root,satyarth934/root,zzxuanyuan/root-compressor-dummy,vukasinmilosevic/root,simonpf/root,omazapa/root,omazapa/root-old,esakellari/my_root_for_test,gbitzes/root,BerserkerTroll/root,evgeny-boger/root,perovic/root,perovic/root,omazapa/root,gbitzes/root,0x0all/ROOT,BerserkerTroll/root,Duraznos/root,mattkretz/root,Y--/root,satyarth934/root,cxx-hep/root-cern,agarciamontoro/root,krafczyk/root,dfunke/root,arch1tect0r/root,perovic/root,dfunke/root,buuck/root,zzxuanyuan/root-compressor-dummy,sawenzel/root,agarciamontoro/root,simonpf/root,gganis/root,arch1tect0r/root,zzxuanyuan/root-compressor-dummy,BerserkerTroll/root,root-mirror/root,lgiommi/root,arch1tect0r/root,nilqed/root,cxx-hep/root-cern,0x0all/ROOT,pspe/root,arch1tect0r/root,zzxuanyuan/root,Duraznos/root,zzxuanyuan/root-compressor-dummy,zzxuanyuan/root,esakellari/root,krafczyk/root,alexschlueter/cern-root,vukasinmilosevic/root,beniz/root,Y--/root,Duraznos/root,mhuwiler/rootauto,Duraznos/root,zzxuanyuan/root,mhuwiler/rootauto,cxx-hep/root-cern,abhinavmoudgil95/root,pspe/root,pspe/root,arch1tect0r/root,mattkretz/root,thomaskeck/root,gganis/root,agarciamontoro/root,Dr15Jones/root,omazapa/root-old,georgtroska/root,smarinac/root,Duraznos/root,omazapa/root-old,esakellari/root,Dr15Jones/root,sirinath/root,nilqed/root,Y--/root,krafczyk/root,lgiommi/root,abhinavmoudgil95/root,sirinath/root,simonpf/root,CristinaCristescu/root,0x0all/ROOT,georgtroska/root,evgeny-boger/root,Duraznos/root,abhinavmoudgil95/root,bbockelm/root,root-mirror/root,evgeny-boger/root,mattkretz/root,satyarth934/root,veprbl/root,ffurano/root5,BerserkerTroll/root,olifre/root,simonpf/root,sawenzel/root,georgtroska/root,gbitzes/root,gbitzes/root,mhuwiler/rootauto,esakellari/root,omazapa/root,CristinaCristescu/root,root-mirror/root,perovic/root,smarinac/root,satyarth934/root,krafczyk/root,tc3t/qoot,sawenzel/root,sawenzel/root,gbitzes/root,CristinaCristescu/root,olifre/root,omazapa/root-old,omazapa/root-old,sawenzel/root,zzxuanyuan/root,bbockelm/root,sbinet/cxx-root,alexschlueter/cern-root,davidlt/root,krafczyk/root,ffurano/root5,strykejern/TTreeReader,buuck/root,nilqed/root,krafczyk/root,evgeny-boger/root,strykejern/TTreeReader,buuck/root,0x0all/ROOT,vukasinmilosevic/root,gbitzes/root,sbinet/cxx-root,agarciamontoro/root,bbockelm/root,alexschlueter/cern-root,esakellari/root,bbockelm/root,georgtroska/root,tc3t/qoot,mattkretz/root,thomaskeck/root,buuck/root,krafczyk/root,esakellari/root,smarinac/root,omazapa/root-old,CristinaCristescu/root,satyarth934/root,abhinavmoudgil95/root,thomaskeck/root,zzxuanyuan/root,sirinath/root,arch1tect0r/root,tc3t/qoot,ffurano/root5,davidlt/root,omazapa/root,evgeny-boger/root,nilqed/root,veprbl/root,mkret2/root,buuck/root,davidlt/root,dfunke/root,esakellari/my_root_for_test,georgtroska/root,zzxuanyuan/root-compressor-dummy,vukasinmilosevic/root,abhinavmoudgil95/root,nilqed/root,gganis/root,bbockelm/root,olifre/root,lgiommi/root,gganis/root,zzxuanyuan/root,ffurano/root5,agarciamontoro/root,tc3t/qoot,dfunke/root,tc3t/qoot,omazapa/root-old,mkret2/root,bbockelm/root,0x0all/ROOT,kirbyherm/root-r-tools,esakellari/root,mkret2/root,esakellari/root,olifre/root,pspe/root,esakellari/my_root_for_test,mkret2/root,CristinaCristescu/root,vukasinmilosevic/root,jrtomps/root,esakellari/my_root_for_test,sawenzel/root,alexschlueter/cern-root,gbitzes/root,georgtroska/root,krafczyk/root,vukasinmilosevic/root,satyarth934/root,zzxuanyuan/root,bbockelm/root,lgiommi/root,0x0all/ROOT,BerserkerTroll/root,olifre/root,root-mirror/root,mattkretz/root,sbinet/cxx-root,sirinath/root,lgiommi/root,arch1tect0r/root,karies/root,gganis/root,bbockelm/root,zzxuanyuan/root,abhinavmoudgil95/root,cxx-hep/root-cern,jrtomps/root,nilqed/root,tc3t/qoot,jrtomps/root,veprbl/root,olifre/root,BerserkerTroll/root,kirbyherm/root-r-tools,omazapa/root,CristinaCristescu/root,BerserkerTroll/root,CristinaCristescu/root,Y--/root,karies/root,Duraznos/root,vukasinmilosevic/root,perovic/root,evgeny-boger/root,davidlt/root,smarinac/root