[Patch] Fix for concurrent/race condition in apr_dir_make_recursive()

2014-01-16 Thread Bert Huijben
Hi, While debugging a Subversion buildbot error I found a race condition in apr_dir_make_recursive(). If two new threads perform something like $ mkdir -p some/deep/sub/dir $ mkdir -p some/deep/sub/other At the same time And 'some' and/or 'deep' don't exist both threads will fail to

Re: CMake build doesn't define 'WINNT', but apr headers check for it anyway

2014-01-16 Thread Jeff Trawick
On Thu, Dec 5, 2013 at 9:13 AM, Bert Huijben b...@qqmail.nl wrote: Hi, On Windows apr_arch_misc.h checks for the ‘WINNT’ define, which was unconditionally defined on Windows before the CMake build. But now it is no longer defined. This enables some additional dynamic load