mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Fix typo
This commit is contained in:
parent
e3ecfa729d
commit
2b873570a8
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ pub fn open_cloexec(path: &CStr, flags: OFlag, mode: nix::sys::stat::Mode) -> ni
|
||||||
let saved_errno = errno();
|
let saved_errno = errno();
|
||||||
errno::set_errno(errno::Errno(0));
|
errno::set_errno(errno::Errno(0));
|
||||||
// We retry this in case of signals,
|
// We retry this in case of signals,
|
||||||
// if we get EINTR and it's not a SIGINIT, we continue.
|
// if we get EINTR and it's not a SIGINT, we continue.
|
||||||
// If it is that's our cancel signal, so we abort.
|
// If it is that's our cancel signal, so we abort.
|
||||||
loop {
|
loop {
|
||||||
let ret = nix::fcntl::open(path, flags | OFlag::O_CLOEXEC, mode);
|
let ret = nix::fcntl::open(path, flags | OFlag::O_CLOEXEC, mode);
|
||||||
|
|
Loading…
Reference in a new issue