From 85231cd1b643e326ea1814ab69eadc55da68d8c7 Mon Sep 17 00:00:00 2001 From: Shawn Zeng Date: Fri, 14 Nov 2025 15:30:24 +0800 Subject: [PATCH] Bug 5631118: Modify the socket create folder for QNX as per filesystems change in QNX SDP 8.0.3 --- Common/helper_multiprocess.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Common/helper_multiprocess.h b/Common/helper_multiprocess.h index 7335e406..c1033579 100644 --- a/Common/helper_multiprocess.h +++ b/Common/helper_multiprocess.h @@ -54,8 +54,14 @@ #endif #include +// The Unix domain sockets creating folder on QNX has been restricted to qnx6-mounted directories since QNX SDP 8.0.3. +#if defined(__QNX__) + #include + inline std::string getSocketFolder() { + return "/storage"; + } // Simple filesystem compatibility for GCC 8.x -#if defined(__GNUC__) && __GNUC__ < 9 +#elif defined(__GNUC__) && __GNUC__ < 9 #include #include inline std::string getSocketFolder() {