On Thu, Jun 27, 2013 at 11:15 PM, Hans de Goede <hdego...@redhat.com> wrote: > On 06/27/2013 03:49 PM, Toby Gray wrote: >> >> This is a slightly reworked version of my previous logging patches. >> >> I've improved the commit message for the first patch and made the >> changes suggested by Hans de Goede relating to return value of >> snprintf calls. > > Thanks, I've pushed the 1st patch, as it is indeed very useful > for debugging multi-threaded apps. So it will be in 1.0.16rc2 > which I plan to release after I get some feedback from Xiaofan > on the openbsd crash. > > For the 2nd patch lets wait for Pete's comments.
It also triggers a warning under Mac OS X. mymacmini:libusbx xiaofanc$ ./autogen.sh ... mymacmini:libusbx xiaofanc$ make (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Users/xiaofanc/work/libusbx/libusbx/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive Making all in libusb CC libusb_1_0_la-core.lo core.c: In function 'usbi_log_str': core.c:2023: warning: format not a string literal and no format arguments core.c:2023: warning: format not a string literal and no format arguments CC libusb_1_0_la-descriptor.lo CC libusb_1_0_la-io.lo CC libusb_1_0_la-strerror.lo CC libusb_1_0_la-sync.lo CC libusb_1_0_la-hotplug.lo CC libusb_1_0_la-darwin_usb.lo CC libusb_1_0_la-poll_posix.lo CCLD libusb-1.0.la Making all in doc make[2]: Nothing to be done for `all'. Making all in examples CCLD listdevs CCLD xusb CCLD fxload CCLD hotplugtest CCLD dpfp CCLD dpfp_threaded CCLD sam3u_benchmark Making all in tests CCLD stress -- Xiaofan ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel