We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98b4877 commit 3c0d767Copy full SHA for 3c0d767
libmamba/src/core/run.cpp
@@ -199,7 +199,7 @@ namespace mamba
199
const std::vector<std::string>& command,
200
LockFile proc_dir_lock [[maybe_unused]]
201
)
202
- : location{ proc_dir() / fmt::format("{}.json", getpid()) }
+ : location{ proc_dir() / fmt::format("{}.json", _getpid()) }
203
{
204
// Lock must be hold for the duraction of this constructor.
205
if (is_file_locking_allowed())
libmamba/src/core/util.cpp
@@ -892,7 +892,7 @@ namespace mamba
892
int ret = 0;
893
if (m_fd > -1)
894
895
- ret = close(m_fd);
+ ret = _close(m_fd);
896
m_fd = -1;
897
}
898
return ret;
0 commit comments