mirror of https://github.com/mamba-org/mamba.git
Merge 3c0d7674dc
into 14a94d379a
This commit is contained in:
commit
791dc11c59
|
@ -199,7 +199,7 @@ namespace mamba
|
|||
const std::vector<std::string>& command,
|
||||
LockFile proc_dir_lock [[maybe_unused]]
|
||||
)
|
||||
: location{ proc_dir() / fmt::format("{}.json", getpid()) }
|
||||
: location{ proc_dir() / fmt::format("{}.json", _getpid()) }
|
||||
{
|
||||
// Lock must be hold for the duraction of this constructor.
|
||||
if (is_file_locking_allowed())
|
||||
|
|
|
@ -892,7 +892,7 @@ namespace mamba
|
|||
int ret = 0;
|
||||
if (m_fd > -1)
|
||||
{
|
||||
ret = close(m_fd);
|
||||
ret = _close(m_fd);
|
||||
m_fd = -1;
|
||||
}
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue