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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to