Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libmamba/src/core/run.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion libmamba/src/core/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading