diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index be17d8d1..6e060262 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -39,7 +39,7 @@ jobs: # 2. Check for multiple consecutive blank lines # This regex looks for 2 or more empty lines anywhere in the message - if echo "$CLEAN_MSG" | grep -pz '(\r?\n){3,}'; then + if echo "$CLEAN_MSG" | grep -Pz '(\r?\n){3,}'; then echo "❌ Error: Commit message contains multiple consecutive line breaks." echo " Commit: '$SUBJECT'" FAILED=1 diff --git a/configure.ac b/configure.ac index 490f3154..e4d7d2b0 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ m4_pattern_allow([PKG_CHECK_EXISTS]) -AC_INIT([rtorrent],[0.16.19],[sundell.software@gmail.com]) +AC_INIT([rtorrent],[0.16.20],[sundell.software@gmail.com]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIRS([scripts]) @@ -14,7 +14,7 @@ AX_CXX_COMPILE_STDCXX(20, noext, mandatory) PKG_PROG_PKG_CONFIG -AC_DEFINE([API_VERSION], [24], [api version]) +AC_DEFINE([API_VERSION], [25], [api version]) RAK_CHECK_CFLAGS RAK_CHECK_CXXFLAGS @@ -47,7 +47,7 @@ fi PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"]) PKG_CHECK_MODULES([ZLIB], [zlib]) -PKG_CHECK_MODULES([DEPENDENCIES], [libtorrent >= 0.16.19]) +PKG_CHECK_MODULES([DEPENDENCIES], [libtorrent >= 0.16.20]) AC_LANG_PUSH(C++) TORRENT_WITH_XMLRPC_C diff --git a/src/utils/waitpid_queue.h b/src/utils/waitpid_queue.h index a441e4cc..f4d0e22a 100644 --- a/src/utils/waitpid_queue.h +++ b/src/utils/waitpid_queue.h @@ -18,6 +18,8 @@ public: void wait_for(uint32_t max_remaining); + // TODO: Add a signal handler to tell the worker thread to wake up. Use a counter to batch wakeups. + private: WaitpidQueue(const WaitpidQueue&) = delete; WaitpidQueue& operator=(const WaitpidQueue&) = delete;