commit | 67e6816264e35a1f22b43a78b4be7481652bc51a | [log] [tgz] |
---|---|---|
author | Chris Dickens <christopher.a.dickens@gmail.com> | Thu Jan 30 20:48:56 2020 -0800 |
committer | Chris Dickens <christopher.a.dickens@gmail.com> | Thu Jan 30 20:48:56 2020 -0800 |
tree | b317acbf9af7960083f68b013d8ba2e2f0c87fdf | |
parent | ce95f656adcda701888c7414d2ab0f88f3f2c0ae [diff] |
Windows: Fix poll implementation for NDEBUG (Release) builds The refactoring in commit df61c0c3a3 ("Windows: improve poll abstraction") introduced a bug in builds where NDEBUG is defined because of a statement with side-effects that was put inside an assertion. When this statement is not evaluated, the file descriptor table gets corrupt. Fix this by moving the statement outside of the assertion. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku 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)