diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-18 14:57:06 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-18 14:57:06 +0000 |
| commit | f7319b36f4f48cdf065b9a1472c9a848ca6f95bc (patch) | |
| tree | cedef12b3a1e803c605157cbbba6d2c8c826338d /src/util | |
| parent | cd55aa462b112896240ab736bf60035fdb30ca2d (diff) | |
adapt self pipe
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/non_block_input.cc (renamed from src/util/non_block_io.cc) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/non_block_io.cc b/src/util/non_block_input.cc index 31edbc9..a17daf2 100644 --- a/src/util/non_block_io.cc +++ b/src/util/non_block_input.cc @@ -41,7 +41,7 @@ int non_block_read_char(char *c, int *src) else if (FD_ISSET(STDIN_FILENO, &rset)) { ret = read(STDIN_FILENO, c, 1); - if (src != nullptr) *src = self_pipe_fd[0]; + if (src != nullptr) *src = STDIN_FILENO; } return ret; } |
