1 Star 0 Fork 7

keep-running/distributed-beget

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0007-modify-default-param-read-path.patch 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
From ee5eb1c1a8c3247b26ca5b265528cfa59eb8c9b0 Mon Sep 17 00:00:00 2001
From: peng_langyuan <peng_langyuan@hoperun.com>
Date: Tue, 7 May 2024 16:30:16 +0800
Subject: [PATCH] modify default param read path
---
services/param/include/param_utils.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/services/param/include/param_utils.h b/services/param/include/param_utils.h
index e613eee..af86268 100644
--- a/services/param/include/param_utils.h
+++ b/services/param/include/param_utils.h
@@ -34,7 +34,7 @@ extern "C" {
#define PIPE_PATH "/dev/unix/socket"
#define CLIENT_PIPE_NAME "/dev/unix/socket/paramservice"
#define PIPE_NAME "/dev/unix/socket/paramservice"
-#define SYSTEM_PARAM_PATH "/system/etc/param"
+#define SYSTEM_PARAM_PATH "/etc/param"
#define USER_PARAM_PATH "/data/service/el1/public/param_service/"
#define USER_PARAM_FILE USER_PARAM_PATH "/user.para"
#define CONST_PREFIX "const."
@@ -44,4 +44,4 @@ extern "C" {
}
#endif
#endif
-#endif
\ No newline at end of file
+#endif
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peng-langyuan/distributed-beget.git
git@gitee.com:peng-langyuan/distributed-beget.git
peng-langyuan
distributed-beget
distributed-beget
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385