mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 16:21:15 -03:00
Complete revert of faulty polling workaround
62d8f7277 ("Revert "Avoid excessive polling of universal variable
file"") was not a complete revert, which seems to have caused the
problem reported in https://github.com/IlanCosman/tide/issues/171.
See #8088
This commit is contained in:
@@ -98,9 +98,7 @@ static readb_result_t readb(int in_fd) {
|
||||
// This may come about through readability, or through a call to poll().
|
||||
if ((fdset.test(notifier_fd) && notifier.notification_fd_became_readable(notifier_fd)) ||
|
||||
notifier.poll()) {
|
||||
if (env_universal_barrier()) {
|
||||
return readb_uvar_notified;
|
||||
}
|
||||
return readb_uvar_notified;
|
||||
}
|
||||
|
||||
// Check stdin.
|
||||
|
||||
Reference in New Issue
Block a user