Re: [Owfs-developers] [GIT PULL] Fix race conditions in ow_regcomp

2017-11-12 Thread Justin Brewer
Thanks for the review. On Sun, Nov 12, 2017 at 04:19:00PM +0100, Johan Ström wrote: > Looks good to me, much cleaner indeed! Given that pthread_once is available > everywhere? pthread_once is part of standard POSIX thread support, so any libc implementing pthreads should include it. All the

[Owfs-developers] [GIT PULL] Fix race conditions in ow_regcomp

2017-11-11 Thread Justin Brewer
-08 13:34:21 -0600) Justin Brewer (3): Ignore man3/IBLSS.3 Fix race conditions in ow_regcomp Free regexes at exit module/owlib/src/c/ow_arg.c | 41 +++--- module/owlib/src/c/ow_lib_stop.c | 3

Re: [Owfs-developers] owserver and owcapi behave differently with —enet device

2017-11-08 Thread Justin Brewer
Sorry for the multiple replies. I thought my messages weren't going out, but really there's just a 1h+ delay... On 11/08/2017 06:37 PM, Justin Brewer wrote: ...snip... -- Check out the vibrant tech community on one

Re: [Owfs-developers] owserver and owcapi behave differently with —enet device

2017-11-08 Thread Justin Brewer
On Wed, Nov 08, 2017 at 01:51:49PM -0800, Andrew Brownsword wrote: > Nothing but crickets — is anyone out there? > > I’ve been poking at the code to try and figure out how to enable my debugger > to step into the libowcapi/libow code, but the make process is obscure enough > that some advice

Re: [Owfs-developers] owserver and owcapi behave differently with —enet device

2017-11-08 Thread Justin Brewer
I have been working with libowcapi recently, and have seen similair symptoms. There's a race condition in libow that, if it doesn't outright crash, causes problems with directory listings. I have a patch for this issue here: