Linux: Handle single- and two-digit kernel versions like 3.0 and 4
authorHans de Goede <hdegoede@redhat.com>
Fri, 17 Jun 2011 08:19:00 +0000 (10:19 +0200)
committerPeter Stuge <peter@stuge.se>
Thu, 15 Sep 2011 13:16:20 +0000 (15:16 +0200)
commit2bf8848fb5c85ace0f445c0820a0c173cf76bf43
tree44f2a3074b9f7f50420a670662cff61b258f86f4
parent0288bf24f91eca9f433ebad91a7eb6c0e3e29133
Linux: Handle single- and two-digit kernel versions like 3.0 and 4

The code has been tested with various version strings.

[stuge: Remove bogus string length check and optimize for newer kernels]
libusb/os/linux_usbfs.c