{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1756858725,
"reponame":"openssl",
"desc":"OpenSSL",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"0107c104119881cfbcc33c2edac64f60",
"commit": {"type":"commit",
"time": 1465221095,
"time_ofs": 120,
"oid_tree": { "oid": "1fa77d4c5de38f2cdf11e92d2b1f4047ed0a8654", "alias": []},
"oid":{ "oid": "81b538e51e34e258af96ebaf147c0059ef855829", "alias": []},
"msg": "tests: fix the shutting up of the shell",
"sig_commit": { "git_time": { "time": 1465221095, "offset": 120 }, "name": "Richard Levitte", "email": "levitte@openssl.org", "md5": "b737120f0642a6a5c30c6291e6170c77" },
"sig_author": { "git_time": { "time": 1465218110, "offset": 120 }, "name": "Richard Levitte", "email": "levitte@openssl.org", "md5": "b737120f0642a6a5c30c6291e6170c77" }},
"body": "tests: fix the shutting up of the shell\n\nIf we're going to redirect STDERR and STDOUT, it's better to do it by\nthe book. This fix is a straight copy of examples in the perlfunc\nmanual.\n\nReviewed-by: Matt Caswell \u003cmatt@openssl.org\u003e\n"
,
"diff": "diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm\nindex 1e9730b..2cfb22a 100644\n--- a/test/testlib/OpenSSL/Test.pm\n+++ b/test/testlib/OpenSSL/Test.pm\n@@ -356,9 +356,11 @@ sub run {\n # In non-verbose, we want to shut up the command interpreter, in case\n # it has something to complain about. On VMS, it might complain both\n # on stdout and stderr\n- *save_STDOUT \u003d *STDOUT;\n- *save_STDERR \u003d *STDERR;\n+ my $save_STDOUT;\n+ my $save_STDERR;\n if ($ENV{HARNESS_ACTIVE} \u0026\u0026 !$ENV{HARNESS_VERBOSE}) {\n+ open $save_STDOUT, '\u003e\u0026', \u005c*STDOUT or die \u0022Can't dup STDOUT: $!\u0022;\n+ open $save_STDERR, '\u003e\u0026', \u005c*STDERR or die \u0022Can't dup STDERR: $!\u0022;\n open STDOUT, \u0022\u003e\u0022, devnull();\n open STDERR, \u0022\u003e\u0022, devnull();\n }\n@@ -379,9 +381,9 @@ sub run {\n if ($ENV{HARNESS_ACTIVE} \u0026\u0026 !$ENV{HARNESS_VERBOSE}) {\n close STDOUT;\n close STDERR;\n+ open STDOUT, '\u003e\u0026', $save_STDOUT or die \u0022Can't restore STDOUT: $!\u0022;\n+ open STDERR, '\u003e\u0026', $save_STDERR or die \u0022Can't restore STDERR: $!\u0022;\n }\n- *STDOUT \u003d *save_STDOUT;\n- *STDERR \u003d *save_STDERR;\n \n print STDERR \u0022$prefix$display_cmd \u003d\u003e $e\u005cn\u0022\n if !$ENV{HARNESS_ACTIVE} || $ENV{HARNESS_VERBOSE};\n","s":{"c":1756858725,"u": 5586}}
],"g": 6323,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}