linux: Use cached config descriptors
commit200931805bc352219a9f991c46dcb2d6f204c426
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 May 2013 18:38:51 +0000 (22 20:38 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 24 May 2013 11:58:36 +0000 (24 13:58 +0200)
treecd9b0759c04dca6322ac47f244d2c4adab8e94cf
parent4a34eda8bfe56ea6637a8d549bf4458f93059003
linux: Use cached config descriptors

Use cached config descriptors instead of doing tons file io, because:
- Less fileio is more
- Less code is more, diffstat for this patch:
 1 file changed, 128 insertions(+), 307 deletions(-)

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/os/linux_usbfs.c
libusb/version_nano.h