Page MenuHomeFreeBSD

D7952.diff
No OneTemporary

D7952.diff

Index: head/contrib/atf/atf-sh/atf-check.cpp
===================================================================
--- head/contrib/atf/atf-sh/atf-check.cpp
+++ head/contrib/atf/atf-sh/atf-check.cpp
@@ -346,9 +346,10 @@
execute_with_shell(char* const* argv)
{
const std::string cmd = flatten_argv(argv);
+ const std::string shell = atf::env::get("ATF_SHELL", ATF_SHELL);
const char* sh_argv[4];
- sh_argv[0] = atf::env::get("ATF_SHELL", ATF_SHELL).c_str();
+ sh_argv[0] = shell.c_str();
sh_argv[1] = "-c";
sh_argv[2] = cmd.c_str();
sh_argv[3] = NULL;

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 12:20 PM (20 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15530156
Default Alt Text
D7952.diff (587 B)

Event Timeline