diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-01 07:00:18 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-01 07:00:18 +0000 |
| commit | c8e78674ed3fb19bab55cfbdac5db8a320e8e721 (patch) | |
| tree | 8538a46b114c7d5b19afc8e19b99b02482685cb1 /input.c | |
| parent | slave: user-notifications: skip the O_NONBLOCK dance when there aren't any notifications (diff) | |
slave: emit user-notifications before dup:ing stdin/stdout/stderr
Since we need to restore the status flags anyway, there's nothing to
gain from emitting the user notifications after dup:ing the pts file
descriptor.
On the other hand, emitting user notifications *before* dup:ing means
we can still print error messages for e.g. write(3) errors.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions
