Re: [Libusbx-devel] libusbx broken on Mac OS X

2013-06-06 Thread Pete Batard
On 2013.06.06 19:03, Nathan Hjelm wrote: > Bah! I forgot about the nano version. Sorry. Well, I'll be the first to admit it's a bit of a pain in the ass. If we were a project with a high volume of patches to merge, we'd probably want to devise something better. By the way, you may want to read

Re: [Libusbx-devel] [PATCH] Add a libusb_strerror() function

2013-06-06 Thread Pete Batard
Sorry for the late reply, > 2013/6/5 Hans de Goede : >> +int API_EXPORTED libusb_setlocale(const char *locale) >> +{ >> + const char * const iso639[] = { >> + /* Note the order here MUST match the libusb_locale_enum */ >> + "en", /* LANG_EN */ >> + "

Re: [Libusbx-devel] libusbx broken on Mac OS X

2013-06-06 Thread Ludovic Rousseau
2013/6/6 Hans de Goede : > I've merged the pull request into master. Ludovic, this should fix your > problem, please test. Problem fixed. Thanks -- Dr. Ludovic Rousseau -- How ServiceNow helps IT people transform IT dep

Re: [Libusbx-devel] libusbx broken on Mac OS X

2013-06-06 Thread Nathan Hjelm
Bah! I forgot about the nano version. Sorry. -Nathan On Jun 6, 2013, at 11:59 AM, Pete Batard wrote: > On 2013.06.06 18:08, Hans de Goede wrote: >> I've merged the pull request into master. > > Be mindful that when using github's merge, you lose the nano bump. > => the last 5 commits will repo

Re: [Libusbx-devel] libusbx broken on Mac OS X

2013-06-06 Thread Pete Batard
On 2013.06.06 18:08, Hans de Goede wrote: > I've merged the pull request into master. Be mindful that when using github's merge, you lose the nano bump. => the last 5 commits will report the exact same version of libusbx... Regards, /Pete --

Re: [Libusbx-devel] libusbx broken on Mac OS X

2013-06-06 Thread Hans de Goede
Hi, On 06/06/2013 06:55 PM, Nathan Hjelm wrote: > > On Jun 6, 2013, at 7:19 AM, Hans de Goede wrote: > >> Hi, >> >> On 06/06/2013 03:07 PM, Ludovic Rousseau wrote: >>> Hello, >>> >>> I just tried to use the official master branch of libusbx on Mac OS X >>> and I get a crash with the listdevs exam

Re: [Libusbx-devel] libusbx broken on Mac OS X

2013-06-06 Thread Nathan Hjelm
On Jun 6, 2013, at 7:19 AM, Hans de Goede wrote: > Hi, > > On 06/06/2013 03:07 PM, Ludovic Rousseau wrote: >> Hello, >> >> I just tried to use the official master branch of libusbx on Mac OS X >> and I get a crash with the listdevs example: > > Ah yes, known issue (which I must admit I forgot

Re: [Libusbx-devel] libusbx broken on Mac OS X

2013-06-06 Thread Hans de Goede
Hi, On 06/06/2013 03:07 PM, Ludovic Rousseau wrote: > Hello, > > I just tried to use the official master branch of libusbx on Mac OS X > and I get a crash with the listdevs example: Ah yes, known issue (which I must admit I forgot about when I dud the big push to master) Nathan has a fix for this

[Libusbx-devel] libusbx broken on Mac OS X

2013-06-06 Thread Ludovic Rousseau
Hello, I just tried to use the official master branch of libusbx on Mac OS X and I get a crash with the listdevs example: Starting program: /Users/lroussea/Documents/github/libusbx/examples/.libs/listdevs Reading symbols for shared libraries +.. done [timestamp

Re: [Libusbx-devel] [PATCH] Add a libusb_strerror() function

2013-06-06 Thread Ludovic Rousseau
2013/6/5 Hans de Goede : > +++ b/libusb/strerror.c > @@ -0,0 +1,205 @@ > +/** \ingroup misc > + * Set the language, and only the language, not the encoding! used for > + * translatable libusb messages. > + * > + * This takes a locale string in the default setlocale format: > + * lang[_country_regi