Date: Fri, 14 Nov 2008 09:52:21 +0000 (UTC) From: Pav Lucistnik <pav@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/devel/libusb Makefile ports/devel/libusb/files patch-bsd.c Message-ID: <200811140952.mAE9qLmo013344@repoman.freebsd.org>
index | next in thread | raw e-mail
pav 2008-11-14 09:52:21 UTC
FreeBSD ports repository
Modified files:
devel/libusb Makefile
devel/libusb/files patch-bsd.c
Log:
- Fix a runtime failure. While usb_control_msg is supposed to return the
actual number of bytes received, the FreeBSD version returns the receiving
buffer size instead. Applications inspecting the returned length for error
checking will fail. My patch is based on this excerpt from FreeBSDs
/usr/src/sys/dev/usb/usb.h.
PR: ports/128549
Submitted by: ladan (maintainer)
Revision Changes Path
1.27 +1 -1 ports/devel/libusb/Makefile
1.11 +17 -8 ports/devel/libusb/files/patch-bsd.c
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811140952.mAE9qLmo013344>
