]> git.pld-linux.org Git - packages/libusb.git/commitdiff
- now obsolete
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 4 Mar 2006 20:42:10 +0000 (20:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libusb-urb.patch -> 1.4

libusb-urb.patch [deleted file]

diff --git a/libusb-urb.patch b/libusb-urb.patch
deleted file mode 100644 (file)
index 4380435..0000000
+++ /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 */
This page took 0.459029 seconds and 4 git commands to generate.