Fixed a bug in configurator - initializing from argc/argv could change argv[0] on some platforms because dirname() is allowed to modify its input string.
Fixed a bug in configurator - initializing from argc/argv could change
argv[0] on some platforms because dirname() is allowed to modify its
input string.

git-svn-id: 03d7800a49d8905ef4fbcc296184319e19243493@1131941 13f79535-47bb-0310-9956-ffa450edef68

craimbert/mesos,neilconway/mesos,jpeach/mesos,samwhitlock/mesos-monitoring,Aman-Jain-14/customizedMesos,gsantovena/mesos,asamerh4/mesos,jpeach/mesos,charlescearl/VirtualMesos,kaysoky/mesos,kaysoky/mesos,kaysoky/mesos,andschwa/mesos,wickman/mesos,enachb/mesos,neilconway/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,zmalik/mesos,pwendell/mesos,yuquanshan/customizedMesos,zmalik/mesos,pwendell/mesos,enachb/mesos,verizonlabs/mesos,wickman/mesos,zmalik/mesos,gsantovena/mesos,woggle/mesos-old,woggle/mesos-old,woggle/mesos-old,Gilbert88/mesos,chhsia0/mesos,reneploetz/mesos,craimbert/mesos,andschwa/mesos,pwendell/mesos,samwhitlock/mesos-monitoring,abudnik/mesos,chhsia0/mesos,dforsyth/mesos,andschwa/mesos,jpeach/mesos,woggle/mesos-old,zmalik/mesos,asamerh4/mesos,asamerh4/mesos,abudnik/mesos,zmalik/mesos,verizonlabs/mesos,woggle/mesos-old,gsantovena/mesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos,craimbert/mesos,neilconway/mesos,charlescearl/VirtualMesos,abudnik/mesos,abudnik/mesos,pwendell/mesos,reneploetz/mesos,gsantovena/mesos,neilconway/mesos,wickman/mesos,charlescearl/VirtualMesos,samwhitlock/mesos-monitoring,asamerh4/mesos,gsantovena/mesos,craimbert/mesos,samwhitlock/mesos-monitoring,enachb/mesos,zmalik/mesos,reneploetz/mesos,gsantovena/mesos,craimbert/mesos,samwhitlock/mesos-monitoring,verizonlabs/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,andschwa/mesos,asamerh4/mesos,kaysoky/mesos,pwendell/mesos,neilconway/mesos,craimbert/mesos,yuquanshan/customizedMesos,enachb/mesos,wickman/mesos,charlescearl/VirtualMesos,charlescearl/VirtualMesos,asamerh4/mesos,yuquanshan/customizedMesos,jpeach/mesos,wickman/mesos,chhsia0/mesos,verizonlabs/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,abudnik/mesos,verizonlabs/mesos,andschwa/mesos,woggle/mesos-old,Aman-Jain-14/customizedMesos,enachb/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,charlescearl/VirtualMesos,jpeach/mesos,enachb/mesos,jpeach/mesos,abudnik/mesos,samwhitlock/mesos-monitoring,chhsia0/mesos,asamerh4/mesos,pwendell/mesos,dforsyth/mesos,andschwa/mesos,pwendell/mesos,jpeach/mesos,reneploetz/mesos,pwendell/mesos,charlescearl/VirtualMesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,wickman/mesos,zmalik/mesos,neilconway/mesos,Gilbert88/mesos,woggle/mesos-old,enachb/mesos,woggle/mesos-old,craimbert/mesos,woggle/mesos-old,chhsia0/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,dforsyth/mesos,gsantovena/mesos,Gilbert88/mesos,Gilbert88/mesos,chhsia0/mesos,reneploetz/mesos,reneploetz/mesos,chhsia0/mesos,kaysoky/mesos,wickman/mesos,kaysoky/mesos,dforsyth/mesos,andschwa/mesos,verizonlabs/mesos,reneploetz/mesos,dforsyth/mesos,pwendell/mesos,verizonlabs/mesos,neilconway/mesos,Gilbert88/mesos