Date: Fri, 14 Nov 2008 10:00:14 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/128549: commit references a PR Message-ID: <200811141000.mAEA0Els078766@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/128549; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/128549: commit references a PR Date: Fri, 14 Nov 2008 09:52:30 +0000 (UTC) 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 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811141000.mAEA0Els078766>