Wireshark-commits: [Wireshark-commits] master e2e8456: Use getc_unlocked in a few places.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e2e84563eeb1e7b9add817d2b0c39656fab297d5
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
e2e8456 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Use getc_unlocked in a few places.
Use getc_unlocked or _fgetc_nolock instead of getc in a few places. This
reduces startup time by about 100ms here.
Change-Id: I59ceb09678457c871cce79fcc3ce71998fe4f5af
Reviewed-on: https://code.wireshark.org/review/14518
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 92ef3d0 GSM RLC/MAC: add dissection of EC-GSM-IoT control messages
adds e2e8456 Use getc_unlocked in a few places.
Summary of changes:
epan/addr_resolv.c | 2 +-
epan/color_filters.c | 8 ++++----
epan/disabled_protos.c | 16 ++++++++--------
epan/prefs.c | 4 ++--
wsutil/file_util.h | 2 ++
5 files changed, 17 insertions(+), 15 deletions(-)