From 01abdedc45c9e042aa66942f76d774ecd082389d Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Fri, 29 Nov 2019 22:58:57 +0900 Subject: [PATCH] put PID files under PidDir --- src/Mayaqua/Unix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mayaqua/Unix.c b/src/Mayaqua/Unix.c index ca766a23..e4479f65 100755 --- a/src/Mayaqua/Unix.c +++ b/src/Mayaqua/Unix.c @@ -771,7 +771,7 @@ void *UnixNewSingleInstance(char *instance_name) StrCpy(tmp, sizeof(tmp), instance_name); } - GetExeDir(dir, sizeof(dir)); + GetPidDir(dir, sizeof(dir)); // File name generation Format(name, sizeof(name), "%s/.%s", dir, tmp); @@ -2185,7 +2185,7 @@ void UnixGenPidFileName(char *name, UINT size) return; } - GetExeDir(dir, sizeof(dir)); + GetPidDir(dir, sizeof(dir)); GetExeName(exe_name, sizeof(exe_name)); StrCat(exe_name, sizeof(exe_name), ":pid_hash"); @@ -2230,7 +2230,7 @@ void UnixGenCtlFileName(char *name, UINT size) return; } - GetExeDir(dir, sizeof(dir)); + GetPidDir(dir, sizeof(dir)); GetExeName(exe_name, sizeof(exe_name)); StrCat(exe_name, sizeof(exe_name), ":pid_hash");