Implement r37093 differently: do that extra string copy, because otherwise strtok() will modify the env string (injecting \0). Fixes issue of truncated LD_LIBRARY_PATH reported by Markus Frank.
Implement r37093 differently: do that extra string copy, because otherwise strtok() will modify the env string (injecting \0).
Fixes issue of truncated LD_LIBRARY_PATH reported by Markus Frank.


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

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