diff --git a/doc/docs/introduction/how-to-build.md b/doc/docs/introduction/how-to-build.md index 93245ee0..0af88027 100644 --- a/doc/docs/introduction/how-to-build.md +++ b/doc/docs/introduction/how-to-build.md @@ -105,8 +105,8 @@ The examples and test code are built together. ```bash # Install additional dependencies -dnf install epel-releaase -dnf config-manager --set-enabled PowerTools +dnf install epel-release +dnf config-manager --set-enabled powertools dnf install gtest-devel gmock-devel gflags-devel fuse-devel libgsasl-devel # Build examples and test code diff --git a/doc/i18n/cn/docusaurus-plugin-content-docs/current/introduction/how-to-build.md b/doc/i18n/cn/docusaurus-plugin-content-docs/current/introduction/how-to-build.md index 3e722e82..646f99f2 100644 --- a/doc/i18n/cn/docusaurus-plugin-content-docs/current/introduction/how-to-build.md +++ b/doc/i18n/cn/docusaurus-plugin-content-docs/current/introduction/how-to-build.md @@ -109,8 +109,8 @@ cmake --build build -j 8 ```bash # Install additional dependencies -dnf install epel-releaase -dnf config-manager --set-enabled PowerTools +dnf install epel-release +dnf config-manager --set-enabled powertools dnf install gtest-devel gmock-devel gflags-devel fuse-devel libgsasl-devel # Build examples and test code diff --git a/include/photon/common/stream-messenger/messenger.h b/include/photon/common/stream-messenger/messenger.h deleted file mode 120000 index 44f48449..00000000 --- a/include/photon/common/stream-messenger/messenger.h +++ /dev/null @@ -1 +0,0 @@ -../../../../common/stream-messenger/messenger.h \ No newline at end of file diff --git a/io/iouring-wrapper.cpp b/io/iouring-wrapper.cpp index b13e0333..43787285 100644 --- a/io/iouring-wrapper.cpp +++ b/io/iouring-wrapper.cpp @@ -97,7 +97,7 @@ class iouringEngine : public MasterEventEngine, public CascadingEventEngine, pub // reset m_ring so that the destructor won't do duplicate munmap cleanup (io_uring_queue_exit) delete m_ring; m_ring = nullptr; - LOG_ERRNO_RETURN(0, -1, "iouring: failed to init queue"); + LOG_ERROR_RETURN(0, -1, "iouring: failed to init queue: ", ERRNO(-ret)); } // Check feature supported diff --git a/thread/std-compat.h b/thread/std-compat.h index 0ec35475..7841b20c 100644 --- a/thread/std-compat.h +++ b/thread/std-compat.h @@ -293,8 +293,8 @@ class condition_variable : public photon::condition_variable { return cv_status::no_timeout; // We got a timeout when measured against photon's internal clock, // but we need to check against the caller-supplied clock to tell whether we should return a timeout. - if (Clock::now() < t) - return cv_status::no_timeout; + // if (Clock::now() < t) + // return cv_status::no_timeout; return cv_status::timeout; }