This website works better with JavaScript.
Home
Explore
Help
Sign In
gmarx
/
dwm-macbookair
mirror of
https://github.com/gmarxcc/dwm-macbookair
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
supplying NULL args in select
main
Anselm R.Garbe
18 years ago
parent
e571de83e9
commit
2c66b422e7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
main.c
+ 1
- 1
main.c
View File
@ -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
)
Write
Preview
Loading…
Cancel
Save