We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building rtorrent 0.14.0 fails on macOS, because fdatasync() is not available.
I propose this fix:
--- src/core/download_store.cc.orig 2024-10-03 17:46:35.720389128 +0000 +++ src/core/download_store.cc @@ -129,7 +129,11 @@ DownloadStore::write_bencode(const std:: if (fd < 0) goto download_store_save_error; +#if defined(_POSIX_SYNCHRONIZED_IO) && _POSIX_SYNCHRONIZED_IO > 0 fdatasync(fd); +#else + fsync(fd); +#endif ::close(fd); return true;
It is based on Qt, as described there: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/7
The text was updated successfully, but these errors were encountered:
This is the fix we want: #1297
Sorry, something went wrong.
No branches or pull requests
Building rtorrent 0.14.0 fails on macOS, because fdatasync() is not available.
I propose this fix:
It is based on Qt, as described there: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/7
The text was updated successfully, but these errors were encountered: