tsupplying NULL args in select - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2c66b422e75109562e6ebfb6247300b916e1551a
(DIR) parent e571de83e94c60ec3737e93145e6ffdce5de9c58
(HTM) Author: Anselm R.Garbe <arg@10ksloc.org>
Date: Mon, 14 Aug 2006 07:40:20 +0200
supplying NULL args in select
Diffstat:
M main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/main.c b/main.c
t@@ -263,7 +263,7 @@ main(int argc, char *argv[])
FD_SET(STDIN_FILENO, &rd);
FD_SET(xfd, &rd);
- i = select(xfd + 1, &rd, 0, 0, 0);
+ i = select(xfd + 1, &rd, NULL, NULL, NULL);
if(i == -1 && errno == EINTR)
continue;
if(i < 0)