cvs commit: ports/devel/libusb Makefile ports/devel/libusb/files patch-bsd.c

Pav Lucistnik pav at FreeBSD.org
Fri Nov 14 01:52:21 PST 2008


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


More information about the cvs-all mailing list