commit | 3f6e8baa2baaa617a83c810c1ae1b49e4f4a6667 | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Tue Mar 31 18:23:43 2020 -0700 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Tue Mar 31 18:23:43 2020 -0700 |
tree | 62356dd7527621a09521c8955135a274378e651c | |
parent | 1ce667ff7be902e376647ea81d812b75f3e43a00 [diff] |
Windows: Replace the sanitize_path() function with normalize_path() Once upon a time the sanitize_path() function was needed to generate a consistent path format in order to hash the resulting string for use as session IDs. Since commit 71a779d078 ("Windows: Rework WinUSB enumeration process to fix issues on Win8+"), this hashing method is no longer used for session IDs, thus the sanitize_path() function was no longer explicitly needed. User lo1ol also reports in issue #633 that the function actually causes issues with devices where there is a path component following the device interface GUID. Rather than patching the function to fix this specific behavior, just replace it with a simpler function that returns an uppercased duplicate of the input string. Closes #633, Closes #662 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD, Haiku and Solaris userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)