Ticket #19 (closed defect: wontfix)
location is not initialised in usb_bus
| Reported by: | FJaouen | Owned by: | |
|---|---|---|---|
| Component: | libusb-0.1 (unmaintained) | Keywords: | usb_bus bus location |
| Cc: | Blocked By: | ||
| Blocks: |
Description
Hello.
While hacking on MTP devices management in rhythmbox, I've find that 'location' attribute of 'usb_bus' struct is not initialized when 'usb_os_find_busses' is called.
I propose the attached small fix that works very well for libusb/libmtp/rhythmbox.
I hope that despite libusb-0.1 is not maintened, this fix can be added to a new release.
Thank you
Attachments
Change History
Changed 2 years ago by FJaouen
- Attachment linux_c_git.diff added
Note: See
TracTickets for help on using
tickets.
fix to initialize 'location' attribute of 'usb_bus' struct