Re: [Libusbx-devel] Hotplug

2013-02-20 Thread Xiaofan Chen
On Sat, Feb 16, 2013 at 7:54 AM, Pete Batard wrote: > On 2013.02.15 18:56, Kustaa Nyholm wrote: >> On 15.2.2013 20.02, "Tim Roberts" wrote: >> >>> Is someone actually coding up a first-draft hotplug solution to do some >>> experimentation? >> >> >> I don't no, but I don't think so, there is I bel

[Libusbx-devel] [PATCH] Simplify stdout redirection handling for stress test

2013-02-20 Thread Pete Batard
While fixing #69 [1] (which has now been pushed), I got bothered by an assertion error that was due to closing stdout, and since I didn't initially get what the stdout redirection was all about here, I decided to (hopefully) simplify it. The attached patch is the result of that. It also switch

Re: [Libusbx-devel] Windows warning fixes

2013-02-20 Thread Pete Batard
On 2013.02.20 14:45, Xiaofan Chen wrote: > Still see one warning under MinGW-w64 with default compiler option > (./autogen.sh --prefix=/mingw; make). I did mention that I saw it on cygwin with default options, and that I was planning to look into it when I had a chance. In case it wasn't clear,

Re: [Libusbx-devel] Windows warning fixes

2013-02-20 Thread Xiaofan Chen
On Tue, Feb 19, 2013 at 3:33 AM, Ludovic Rousseau wrote: > 2013/2/17 Pete Batard : >> On 2013.02.16 17:50, Ludovic Rousseau wrote: > >>> ../../libusb/os/threads_windows.c:137:1: warning: '__inline' is not at >>> beginning of declaration [-Wold-style-declaration] >> >> The compiler's probably right