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:
Johannes Altmanninger 2021-07-18 18:35:47 +02:00
parent 8abc8315de
commit 52f7e83113

View file

@ -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.