1 Star 0 Fork 32

hantwofish/gazelle_1

forked from src-openEuler/gazelle 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0275-bugfix-start-fail-when-executing-the-popen-command-f.patch 711 Bytes
一键复制 编辑 原始数据 按行查看 历史
From e2ab6a041aa5587c6e6d021c32da2ce4d98522b2 Mon Sep 17 00:00:00 2001
From: hankangkang <hankangkang5@huawei.com>
Date: Wed, 30 Oct 2024 11:15:55 +0800
Subject: [PATCH] bugfix: start fail when executing the popen command for the
second time in openGauss
---
src/lstack/core/lstack_init.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lstack/core/lstack_init.c b/src/lstack/core/lstack_init.c
index a72af84..8ffc3a1 100644
--- a/src/lstack/core/lstack_init.c
+++ b/src/lstack/core/lstack_init.c
@@ -98,7 +98,6 @@ static int32_t check_process_conflict(void)
}
ret = flock((fileno(fp)), LOCK_EX | LOCK_NB);
- (void)fclose(fp);
if (ret < 0) {
return -1;
}
--
2.33.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hantwofish/gazelle_1.git
git@gitee.com:hantwofish/gazelle_1.git
hantwofish
gazelle_1
gazelle_1
master

搜索帮助