From 78ab9dc9c37ae367e79dbcebdb7eba37a23e96a1 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 4 Mar 2006 20:42:10 +0000 Subject: [PATCH] - now obsolete Changed files: libusb-urb.patch -> 1.4 --- libusb-urb.patch | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 libusb-urb.patch diff --git a/libusb-urb.patch b/libusb-urb.patch deleted file mode 100644 index 4380435..0000000 --- a/libusb-urb.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -aurN libusb-0.1.11.orig/linux.c libusb-0.1.11/linux.c ---- libusb-0.1.11.orig/linux.c 2006-01-20 00:25:05.000000000 +0100 -+++ libusb-0.1.11/linux.c 2006-02-11 14:50:27.087876472 +0100 -@@ -560,7 +560,9 @@ - for (i = 0; i < portinfo.numports; i++) - if (portinfo.port[i]) - dev->num_children++; -- -+ -+ if (dev->children) -+ free(dev->children); - dev->children = malloc(sizeof(struct usb_device *) * dev->num_children); - if (!dev->children) { - if (usb_debug > 1) -@@ -633,14 +635,11 @@ - } - - if (!usb_path[0]) { -- if (check_usb_vfs("/proc/bus/usb")) { -- strncpy(usb_path, "/proc/bus/usb", sizeof(usb_path) - 1); -+ if (check_usb_vfs("/dev/bus/usb")) { -+ strncpy(usb_path, "/dev/bus/usb", sizeof(usb_path) - 1); - usb_path[sizeof(usb_path) - 1] = 0; -- } else if (check_usb_vfs("/sys/bus/usb")) { /* 2.6 Kernel with sysfs */ -- strncpy(usb_path, "/sys/bus/usb", sizeof(usb_path) -1); -- usb_path[sizeof(usb_path) - 1] = 0; -- } else if (check_usb_vfs("/dev/usb")) { -- strncpy(usb_path, "/dev/usb", sizeof(usb_path) - 1); -+ } else if (check_usb_vfs("/proc/bus/usb")) { -+ strncpy(usb_path, "/proc/bus/usb", sizeof(usb_path) - 1); - usb_path[sizeof(usb_path) - 1] = 0; - } else - usb_path[0] = 0; /* No path, no USB support */ -- 2.44.0