]> git.pld-linux.org Git - packages/usbutils.git/commitdiff
- ignore HCC (HID country code) tags present in new usb.ids
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 31 Mar 2004 13:49:06 +0000 (13:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (to avoid parse errors)

Changed files:
    usbutils-ignore-HCC.patch -> 1.1

usbutils-ignore-HCC.patch [new file with mode: 0644]

diff --git a/usbutils-ignore-HCC.patch b/usbutils-ignore-HCC.patch
new file mode 100644 (file)
index 0000000..426c696
--- /dev/null
@@ -0,0 +1,11 @@
+--- usbutils-0.11/names.c.orig Mon Jun 17 11:13:47 2002
++++ usbutils-0.11/names.c      Wed Mar 31 15:29:49 2004
+@@ -687,6 +687,8 @@
+                         continue;
+                 }                     
++              if (buf[0] == 'H' && buf[1] == 'C' && buf[2] == 'C' && buf[3] == ' ')
++                      continue; /* ignore HID country codes for now */
+               fprintf(stderr, "Unknown line at line %u\n", linectr);
+       }
+ }
This page took 0.182574 seconds and 4 git commands to generate.