PERFORCE change 157335 for review

Hans Petter Selasky hselasky at FreeBSD.org
Sat Feb 7 06:16:14 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=157335

Change 157335 by hselasky at hselasky_laptop001 on 2009/02/07 14:16:01

	
	libusb20 compat layer: Fix regression issue.

Affected files ...

.. //depot/projects/usb/src/lib/libusb20/libusb20_compat01.c#10 edit

Differences ...

==== //depot/projects/usb/src/lib/libusb20/libusb20_compat01.c#10 (text+ko) ====

@@ -808,7 +808,11 @@
 	if (err)
 		return (-1);
 
-	return (0);
+	/*
+	 * Be compatible with LibUSB from sourceforge and close the
+	 * handle after reset!
+	 */
+	return (usb_close(dev));
 }
 
 const char *


More information about the p4-projects mailing list