Wireshark-commits: [Wireshark-commits] master 62fa030: Do startup things in an order more like that

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 30 Jun 2014 22:51:57 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=62fa030a03aed54f7fd8b877a6c1c5639f23ec7c
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

62fa030 by Guy Harris (guy@xxxxxxxxxxxx):

    Do startup things in an order more like that of gtkshark.
    
    Get credential information and drop privileges *very* early on.  Get the
    pathname of the executable right after that, then initialize the 802.11
    decryption, then, on Windows, load WinPcap and, if available, AirPcap.
    *Then* we can get the version information and set the crash information.
    
    We should drop privileges as early as possible.
    
    We have to load WinPcap and AirPcap before getting the run-time
    information, as the run-time information includes the *pcap versions.
    
    Change-Id: Ib40e5a848cc7f42fcb424faa15a91868eaa0b9a4
    Reviewed-on: https://code.wireshark.org/review/2733
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0a2de4f   Always set the crash information.
    adds  62fa030   Do startup things in an order more like that of gtkshark.


Summary of changes:
 ui/qt/main.cpp |   95 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 48 insertions(+), 47 deletions(-)