mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit 08076072e160558b1bf9b10b433291a71eb792d0 parent e126f1b46066bd17292aede33c598e36ca5c3fee Author: Rob King <jking@deadpixi.com> Date: Thu, 16 Feb 2017 23:11:52 -0600 Use FD_SETSIZE for brevity. Diffstat:
| M | mtm.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mtm.c b/mtm.c @@ -533,7 +533,7 @@ run(void) walk(root, addfds, &fds); - if (select(sysconf(_SC_OPEN_MAX), &fds, NULL, NULL, NULL) < 0){ + if (select(FD_SETSIZE, &fds, NULL, NULL, NULL) < 0){ if (errno == EINTR) continue; quit(EXIT_FAILURE, strerror(errno));
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.