Wireshark-commits: [Wireshark-commits] master-3.0 ae5cbd5: wsutil: Use file descriptor in file_need
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ae5cbd5f6b069fc669db395a3b9f1af2d20af328
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
ae5cbd5 by Tomasz Moń (desowin@xxxxxxxxx):
wsutil: Use file descriptor in file_needs_reopen()
There's no extra benefit in having FILE pointer (over file descriptor)
passed to file_needs_reopen().
Change-Id: Id49eb2f02b776c2f1ccd9d67fedd7eac38432f52
Reviewed-on: https://code.wireshark.org/review/34600
Reviewed-by: Craig Jackson <cejackson51@xxxxxxxxx>
Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 66ad175c47ae8c251a036e735546c3024fb34144)
Reviewed-on: https://code.wireshark.org/review/34614
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 05531a0 NAS 5GS: fix dissection of Mapped EPS bearer contexts IE
add ae5cbd5 wsutil: Use file descriptor in file_needs_reopen()
Summary of changes:
epan/dissectors/packet-tls-utils.c | 4 ++--
epan/dissectors/packet-wireguard.c | 4 ++--
wsutil/filesystem.c | 6 +++---
wsutil/filesystem.h | 3 +--
4 files changed, 8 insertions(+), 9 deletions(-)