On Thu, Jun 27, 2019 at 5:20 AM Branko Čibej <br...@apache.org> wrote:
> > On 26.06.2019 20:57, Branko Čibej wrote: > > Turns out that APR is already doing this _almost_ correctly. The kind of > > change linked to above would fit in APR quite well. The "problem" is > > that Subversion currently doesn't use the "new" APR functions for > > sync/datasync. So my suggestion for the fix would be twofold: > > > > * Enhance the sync functionality in APR (trunk, 1.7 and possibly 1.6) > > * Change Subversion to use APR's sync functions > > > > I'll look into this. > > Interesting ... "man fcntl" on macOS does *not* mention ENOTTY at all. > So everyone who's currently implementing this fix is relying on an > undocumented feature of the filesystem. :) Sounds like a BUG, either in macOS, Darwin, APFS, or the man page. Sadly it's not obvious where to report it.