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)
commit105a4096795e4c974bc1018b3a665c18423d790f
treef34878deb94caff090e25687b30a4a50b481923f
parent71b1c76cdf349b1cc838336a62374ca8e06db5a0
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187208 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/Program.inc