Wireshark-commits: [Wireshark-commits] master-2.4 bdf3af9: Fix detection of file type.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 21 Feb 2018 18:18:28 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bdf3af9413432b2fcaf0d54b03882d449a9cc105
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

bdf3af9 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix detection of file type.
    
    Some versions of otool print the file name as the first line when you
    run it with -hv, so that the line containing the file type is the fourth
    line; others don't print it, so that it's the third line.  Instead, look
    for the line that has MH_MAGIC.
    
    Change-Id: Ib14f6b24f14069532263332e53a1e9895663641a
    Reviewed-on: https://code.wireshark.org/review/25968
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 70554429a6aaeab8302766ed878b981404d16e7e)
    Reviewed-on: https://code.wireshark.org/review/25969
    

Actions performed:

    from  7bd8b5f   ieee80211: fix preamble duration calculation
    adds  bdf3af9   Fix detection of file type.


Summary of changes:
 packaging/macosx/osx-app.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)