diff options
author | Aymeric Vincent <aymericvincent@free.fr> | 2019-02-28 22:38:21 +0100 |
---|---|---|
committer | Nathan Hjelm <hjelmn@me.com> | 2019-04-04 21:19:07 -0600 |
commit | 9501adff2455446aa6ce017525c9d747be67c115 (patch) | |
tree | 493760ed89dfab449fc77489f38b8e7da0995fb4 /Xcode/libusb.xcodeproj/project.pbxproj | |
parent | a0b5d27fa7f2bba11965e2b70533f925a5772808 (diff) | |
download | libusb-9501adff2455446aa6ce017525c9d747be67c115.tar.gz |
Initialize the non-control endpoint fds in netbsd_open()
Not all users of libusb use libusb_claim_interface(), and in that
case, the NetBSD backend fails to open() the necessary /dev/ugenX.Y
and will try to send ioctl()s to fd 0, which fortunately fails.
This unbreaks e.g. openocd on NetBSD.
Closes #539
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
Diffstat (limited to 'Xcode/libusb.xcodeproj/project.pbxproj')
0 files changed, 0 insertions, 0 deletions