623ef093b2
The debug level generally just controls verbosity of libusb for debugging libusb devices/usage. We allow the environment to set the debug level independent of the application, but the application will always override this if it explicitly sets the debug level. Changing the environment is easy, but patching the software to change the debug level isn't necessarily easy or possible. Further, there's this write-only debug_fixed variable that would seem to imply that the debug level should be fixed, but it isn't currently used. Change the logic to use strtol() so we can detect real 0 vs. conversion failure, then honor debug_fixed in libusb_set_debug. Reviewed by: hselasky MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D21877 |
||
---|---|---|
.. | ||
libusb01.c | ||
libusb10_desc.c | ||
libusb10_hotplug.c | ||
libusb10_io.c | ||
libusb10.c | ||
libusb10.h | ||
libusb20_desc.c | ||
libusb20_desc.h | ||
libusb20_int.h | ||
libusb20_ugen20.c | ||
libusb20.3 | ||
libusb20.c | ||
libusb20.h | ||
libusb_global_linux.h | ||
libusb-0.1.pc | ||
libusb-1.0.pc | ||
libusb-2.0.pc | ||
libusb.3 | ||
libusb.h | ||
Makefile | ||
Makefile.depend | ||
usb.h |