Wireshark-commits: [Wireshark-commits] master-3.0 97dacf1: Windows: Console log handler fixups.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=97dacf170d89cdf018cd4d4bfa75add172aa573b
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
97dacf1 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Windows: Console log handler fixups.
Make sure that we always print log messages on Windows. External programs
or scripts (including our test suite) might need to see log messages
independent of our console settings.
Make sure that we always use our log handler and that its stdout /
stderr routing matches GLib's. Flush our log output, which is something
that GLib's default handler sometimes doesn't do:
https://bugzilla.gnome.org/show_bug.cgi?id=792432
Bug: 15605
Change-Id: I4b17f2cb9269b2c87c21835d82770dae93bbfa20
Reviewed-on: https://code.wireshark.org/review/32412
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
(cherry picked from commit 39e49616bc38498e106eb136adf08ea43c90030b)
Reviewed-on: https://code.wireshark.org/review/32414
Actions performed:
from f08b79d Ask, in a comment, whether we should do an exact match on signatures.
add 97dacf1 Windows: Console log handler fixups.
Summary of changes:
ui/console.c | 113 ++++++++++++++++++----------------------
ui/win32/console_win32.c | 130 ++++++++++++++++++++++-------------------------
ui/win32/console_win32.h | 7 ---
3 files changed, 110 insertions(+), 140 deletions(-)