Fix handling command line option --xml-socket.

Fixes BZ#382998
Patch by: Orgad Shaneh <orgads@gmail.com>



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16467
This commit is contained in:
Ivo Raisr 2017-08-03 05:22:01 +00:00
parent dc0fb705e9
commit 34dd8493de
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -45,6 +45,7 @@ where XXXXXX is the bug number as listed below.
382256 gz compiler flag test doesn't work for gold
382407 vg_perf needs "--terse" command line option
382515 "Assertion 'di->have_dinfo' failed." on wine's dlls/mscoree/tests/mscoree.c
382998 xml-socket doesn't work
Release 3.13.0 (15 June 2017)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -526,7 +526,7 @@ void VG_(init_log_xml_sinks)(VgLogTo log_to, VgLogTo xml_to,
break;
case VgLogTo_Socket:
log_fd = prepare_sink_socket(VG_(clo_xml_fname_unexpanded),
xml_fd = prepare_sink_socket(VG_(clo_xml_fname_unexpanded),
&VG_(xml_output_sink), True);
break;
}