mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 18:51:15 -03:00
Remove broken &
Fixes the build
This commit is contained in:
@@ -344,7 +344,7 @@ pub fn create(buffer_limit: usize, target: RawFd) -> Option<Rc<IoBufferfill>> {
|
||||
// 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
|
||||
// from direct buffer transfers.
|
||||
match make_fd_nonblocking(&pipes.read.fd()) {
|
||||
match make_fd_nonblocking(pipes.read.fd()) {
|
||||
Ok(_) => (),
|
||||
Err(e) => {
|
||||
FLOG!(warning, PIPE_ERROR);
|
||||
|
||||
@@ -212,7 +212,7 @@ pub fn new() -> binary_semaphore_t {
|
||||
// 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.
|
||||
if cfg!(feature = "FISH_TSAN_WORKAROUNDS") {
|
||||
let _ = make_fd_nonblocking(&pipes_.read.fd());
|
||||
let _ = make_fd_nonblocking(pipes_.read.fd());
|
||||
}
|
||||
}
|
||||
binary_semaphore_t {
|
||||
|
||||
Reference in New Issue
Block a user