mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 15:14:26 +08:00
Remove broken &
Fixes the build
This commit is contained in:
parent
4728eaf642
commit
5de19d2e84
|
@ -344,7 +344,7 @@ impl IoBufferfill {
|
||||||
// Our buffer will read from the read end of the pipe. This end must be non-blocking. This is
|
// Our buffer will read from the read end of the pipe. This end must be non-blocking. This is
|
||||||
// because our fillthread needs to poll to decide if it should shut down, and also accept input
|
// because our fillthread needs to poll to decide if it should shut down, and also accept input
|
||||||
// from direct buffer transfers.
|
// from direct buffer transfers.
|
||||||
match make_fd_nonblocking(&pipes.read.fd()) {
|
match make_fd_nonblocking(pipes.read.fd()) {
|
||||||
Ok(_) => (),
|
Ok(_) => (),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
FLOG!(warning, PIPE_ERROR);
|
FLOG!(warning, PIPE_ERROR);
|
||||||
|
|
|
@ -212,7 +212,7 @@ impl binary_semaphore_t {
|
||||||
// receive SIGCHLD and so deadlock. So if tsan is enabled, we mark our fd as non-blocking
|
// receive SIGCHLD and so deadlock. So if tsan is enabled, we mark our fd as non-blocking
|
||||||
// (so reads will never block) and use select() to poll it.
|
// (so reads will never block) and use select() to poll it.
|
||||||
if cfg!(feature = "FISH_TSAN_WORKAROUNDS") {
|
if cfg!(feature = "FISH_TSAN_WORKAROUNDS") {
|
||||||
let _ = make_fd_nonblocking(&pipes_.read.fd());
|
let _ = make_fd_nonblocking(pipes_.read.fd());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
binary_semaphore_t {
|
binary_semaphore_t {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user