mirror of
https://github.com/NixOS/nix
synced 2025-06-25 23:11:16 +02:00
Merge remote-tracking branch 'upstream/master' into rm-createdirs
This commit is contained in:
commit
a1bb668ccb
112 changed files with 2290 additions and 893 deletions
|
@ -525,7 +525,7 @@ std::pair<AutoCloseFD, Path> createTempFile(const Path & prefix)
|
|||
if (!fd)
|
||||
throw SysError("creating temporary file '%s'", tmpl);
|
||||
#ifndef _WIN32
|
||||
closeOnExec(fd.get());
|
||||
unix::closeOnExec(fd.get());
|
||||
#endif
|
||||
return {std::move(fd), tmpl};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue