Extend the lifetime of the strings passed to posix_spawn_file_actions_addopen.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 26 Jul 2013 16:21:31 +0000 (16:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 26 Jul 2013 16:21:31 +0000 (16:21 +0000)
commit70d98f446e53ad4a8b858ebc6b237c8c416b3645
tree4d77f57d040a1b845133a4756340d3ff779422e3
parent17ff2e577f72550c317e30fb73539448824868a6
Extend the lifetime of the strings passed to posix_spawn_file_actions_addopen.

Thanks to Hal Finkel for finding the bug and for the initial patch.

llvm-svn: 187208
llvm/lib/Support/Unix/Program.inc