Wireshark-commits: [Wireshark-commits] master bbc8cbf: If you use data_file_url(), you must first c
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bbc8cbfb9c0f4b43834af43e518de085cc39fd6b
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
bbc8cbf by Guy Harris (guy@xxxxxxxxxxxx):
If you use data_file_url(), you must first call init_progfile_dir().
And if you call init_progfile_dir(), you must call
init_process_policies() before that.
And even if you *don't* use data_file_url(), you might use it in the
future, or you might use other calls to get data file paths, so make
*all* the extcap programs make those calls.
(Yes, this is important on macOS, for example; it may also be important
on Windows. On other UN*Xes we may just compile in the data file path,
but that's not true on *all* our platforms.)
Change-Id: I99265ed69ec24096884ec067feddd7d7f3855436
Reviewed-on: https://code.wireshark.org/review/32775
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 9f575c8 Use a common wtap_rec and Buffer for all packets.
add bbc8cbf If you use data_file_url(), you must first call init_progfile_dir().
Summary of changes:
extcap/androiddump.c | 18 ++++++++++++++++++
extcap/ciscodump.c | 18 ++++++++++++++++++
extcap/dpauxmon.c | 18 ++++++++++++++++++
extcap/randpktdump.c | 18 ++++++++++++++++++
extcap/sdjournal.c | 18 ++++++++++++++++++
extcap/sshdump.c | 18 ++++++++++++++++++
extcap/udpdump.c | 18 ++++++++++++++++++
7 files changed, 126 insertions(+)