From 34dd8493de39314033509bb7ad62673f33dcf3db Mon Sep 17 00:00:00 2001 From: Ivo Raisr Date: Thu, 3 Aug 2017 05:22:01 +0000 Subject: [PATCH] Fix handling command line option --xml-socket. Fixes BZ#382998 Patch by: Orgad Shaneh git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16467 --- NEWS | 1 + coregrind/m_libcprint.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 9b39447cab..bb60b81abe 100644 --- a/NEWS +++ b/NEWS @@ -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) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/coregrind/m_libcprint.c b/coregrind/m_libcprint.c index d66c67dc64..f6ba2022e2 100644 --- a/coregrind/m_libcprint.c +++ b/coregrind/m_libcprint.c @@ -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; } -- 2.47.2