Wireshark mailing list archives

Re: MSVC 2008 - ENOTSUP not declared


From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Thu, 21 Jun 2012 11:16:46 -0400

Hmm, I should have investigated a little further before sending the email.

ws80211_toolbar_new() is testing for a ENOTSUP return from ws80211_init() which never returns ENOTSUP. Does one of the error returns from that function mean "Wireless support not enabled"? Maybe the test (which results in that message instead of just "Failed to initialize ws80211") should go away?

Pontus Fuchs wrote:
Hi,

Change it to ENOENT. Caller needs update too.

Cheers,

Pontus

Den 21 jun 2012 16:25 skrev "Jeff Morriss" <jeff.morriss.ws () gmail com <mailto:jeff.morriss.ws () gmail com>>:

    The current trunk doesn't compile on my MSVC-2008-using laptop
    because ENOTSUP is not defined (but it's used in
    ui/gtk/main_80211_toolbar.c). Searching the 'net indicates that the
    2010 version added a bunch of errno values that weren't previously
    there.

    What to do?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: