Wireshark-commits: [Wireshark-commits] master-3.0 f942a32: If you use data_file_url(), you must fir
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 08 Apr 2019 02:58:46 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f942a32c19cfec00d2c6b421f6b48050c527cb00
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

f942a32 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>
    (cherry picked from commit 33cc01c928671027adc91787f3aada0b463363e5)
    Reviewed-on: https://code.wireshark.org/review/32776
    

Actions performed:

    from  ec0a9e7   [Automatic update for 2019-04-07]
     add  f942a32   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(+)