mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-18 03:41:16 -03:00
fix some trivial style problems
This commit is contained in:
@@ -1517,9 +1517,9 @@ static bool check_for_orphaned_process(unsigned long loop_count, pid_t shell_pgi
|
||||
we_think_we_are_orphaned = true;
|
||||
}
|
||||
|
||||
// Try reading from the tty; if we get EIO we are orphaned. This is sort of bad because it
|
||||
// may block.
|
||||
if (!we_think_we_are_orphaned && loop_count % 128 == 0) {
|
||||
// Try reading from the tty; if we get EIO we are orphaned. This is sort of bad because it
|
||||
// may block.
|
||||
#ifdef HAVE_CTERMID_R
|
||||
char buf[L_ctermid];
|
||||
char *tty = ctermid_r(buf);
|
||||
|
||||
Reference in New Issue
Block a user