Ticket #102 (closed enhancement: fixed)
Opened 2 years ago
Last modified 5 weeks ago
Support the libusb_strerror function
| Reported by: | www.google.com/accounts/o8/id?id=aitoawmeixblaeb7i_ox-bx1az2yexod5adeoq0 | Owned by: | hjelmn |
|---|---|---|---|
| Milestone: | 1.0.16 | Component: | libusb-1.0 |
| Keywords: | strerror, libusb_strerror, patch | Cc: | |
| Blocked By: | Blocks: |
Description
I use the libusb_strerror function in my code; however, the patch that supports it has not yet made it into the upstream code, so I have had to patch several installs in order to get my code to work. The patch can be found near the bottom of this page: http://libusb.6.n5.nabble.com/PATCH-6-7-libusb-strerror-addon-td9145.html
I will also attach the patch to this ticket.
Attachments
Change History
Changed 2 years ago by www.google.com/accounts/o8/id?id=aitoawmeixblaeb7i_ox-bx1az2yexod5adeoq0
comment:1 Changed 3 months ago by hjelmn
- Owner set to stuge
- Status changed from new to assigned
Peter, does this functionality something we want as part of the libusb 1.0 API? If so would it make sense to add this to the 1.0.16 release?
comment:2 Changed 6 weeks ago by hjelmn
Ping. Any interest in this functionality being added to 1.0.16.
comment:3 Changed 5 weeks ago by LudovicRousseau
Yes. I would like to be able to use this function.
It is more human friendly to read "Operation timed out" instead of -7 in my application log.
comment:4 Changed 5 weeks ago by hjelmn
- Milestone set to 1.0.16
- Owner changed from stuge to hjelmn
Agreed. I see no reason in including this in the API changes for 1.0.16 and since Peter seems to be unresponsive right now I will go ahead and include it in the release.
comment:5 Changed 5 weeks ago by hjelmn
- Resolution set to fixed
- Status changed from assigned to closed
a patch that provides libusb_strerror. Written by Francesco Montorsi and/or Pete Batard