Fix char pointer assignment with strdup
Fix char pointer assignment with strdup

We want to set toFile to point to the memory allocated by Safe_strdup,
not change toFile.

edespino/gpdb,50wu/gpdb,cjcjameson/gpdb,xinzweb/gpdb,jmcatamney/gpdb,edespino/gpdb,yuanzhao/gpdb,edespino/gpdb,xinzweb/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,lisakowen/gpdb,Chibin/gpdb,50wu/gpdb,ashwinstar/gpdb,edespino/gpdb,edespino/gpdb,janebeckman/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,adam8157/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,50wu/gpdb,janebeckman/gpdb,janebeckman/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,lisakowen/gpdb,yuanzhao/gpdb,lisakowen/gpdb,xinzweb/gpdb,jmcatamney/gpdb,lisakowen/gpdb,cjcjameson/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,adam8157/gpdb,Chibin/gpdb,adam8157/gpdb,xinzweb/gpdb,janebeckman/gpdb,greenplum-db/gpdb,Chibin/gpdb,adam8157/gpdb,janebeckman/gpdb,lisakowen/gpdb,janebeckman/gpdb,janebeckman/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,lisakowen/gpdb,yuanzhao/gpdb,lisakowen/gpdb,greenplum-db/gpdb,xinzweb/gpdb,yuanzhao/gpdb,lisakowen/gpdb,yuanzhao/gpdb,janebeckman/gpdb,50wu/gpdb,Chibin/gpdb,Chibin/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,50wu/gpdb,cjcjameson/gpdb,janebeckman/gpdb,xinzweb/gpdb,yuanzhao/gpdb,edespino/gpdb,kaknikhil/gpdb,edespino/gpdb,edespino/gpdb,adam8157/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,jmcatamney/gpdb,xinzweb/gpdb,Chibin/gpdb,edespino/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,Chibin/gpdb,adam8157/gpdb,yuanzhao/gpdb,edespino/gpdb,cjcjameson/gpdb,Chibin/gpdb,xinzweb/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,adam8157/gpdb,50wu/gpdb,greenplum-db/gpdb,adam8157/gpdb,50wu/gpdb,kaknikhil/gpdb,janebeckman/gpdb,Chibin/gpdb,Chibin/gpdb,50wu/gpdb,kaknikhil/gpdb