FreeBSD Bugzilla – Attachment 197089 Details for
Bug 231264
libusb DPRINTF(ctx, LIBUSB_DEBUG_TRANSFER, "sync I/O done"); does not work in libusb10_do_transfer_cb()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
allows LIBUSB_DEBUG_FUNCTION and LIBUSB_DEBUG_TRANSFER
patch.txt (text/plain), 784 bytes, created by
Ludovic Rousseau
on 2018-09-14 12:20:57 UTC
(
hide
)
Description:
allows LIBUSB_DEBUG_FUNCTION and LIBUSB_DEBUG_TRANSFER
Filename:
MIME Type:
Creator:
Ludovic Rousseau
Created:
2018-09-14 12:20:57 UTC
Size:
784 bytes
patch
obsolete
>Index: libusb10.h >=================================================================== >--- libusb10.h (revision 338678) >+++ libusb10.h (working copy) >@@ -40,13 +40,14 @@ > #define HOTPLUG_UNLOCK(ctx) pthread_mutex_unlock(&(ctx)->hotplug_lock) > > #define DPRINTF(ctx, dbg, format, args...) do { \ >- if ((ctx)->debug == dbg) { \ > switch (dbg) { \ > case LIBUSB_DEBUG_FUNCTION: \ >+ if ((ctx)->debug & LIBUSB_DEBUG_FUNCTION) \ > printf("LIBUSB_FUNCTION: " \ > format "\n", ## args); \ > break; \ > case LIBUSB_DEBUG_TRANSFER: \ >+ if ((ctx)->debug & LIBUSB_DEBUG_TRANSFER) \ > printf("LIBUSB_TRANSFER: " \ > format "\n", ## args); \ > break; \ >@@ -53,7 +54,6 @@ > default: \ > break; \ > } \ >- } \ > } while(0) > > /* internal structures */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231264
:
197047
|
197056
| 197089