mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 19:41:15 -03:00
@@ -687,7 +687,7 @@ bool env_universal_t::open_temporary_file(const wcstring &directory, wcstring *o
|
||||
result_fd = mkstemp(narrow_str);
|
||||
if (result_fd != -1)
|
||||
{
|
||||
fcntl(result_fd, F_SETFD, O_CLOEXEC);
|
||||
fcntl(result_fd, F_SETFD, FD_CLOEXEC);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user