Wireshark-commits: [Wireshark-commits] master 8909dff: Always use the Windows time zone code on Win
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8909dff72139d2f0514a7bb83c6bf5c2959c4101
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
8909dff by Guy Harris (guy@xxxxxxxxxxxx):
Always use the Windows time zone code on Windows.
We *have* to use the Windows code on Windows for the reasons given in
the comment. However, some versions of Visual Studio have a time.h that
CMake thinks defines tzname[] (which the header will do under some
circumstances), so HAVE_TZNAME gets defined on Windows. We check for
Windows *before* checking for HAVE_TZNAME - or HAVE_STRUCT_TM_TM_ZONE.
Bug: 11785
Change-Id: I61360daf08203dbd9d109a87c05727b4dbecea66
Reviewed-on: https://code.wireshark.org/review/19483
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from f30b1e3 Make TCP options into a dissector table.
adds 8909dff Always use the Windows time zone code on Windows.
Summary of changes:
epan/to_str.c | 54 +++++++++++++++++++++++++++++-------------------------
1 file changed, 29 insertions(+), 25 deletions(-)