]>
Commit | Line | Data |
---|---|---|
1db4573b | 1 | --- cdp-0.33/hardware.c.foo Thu Jun 8 17:21:40 2000 |
2 | +++ cdp-0.33/hardware.c Thu Jun 8 17:24:18 2000 | |
3 | @@ -175,7 +175,7 @@ | |
4 | int ret = 1; | |
5 | ||
6 | if (pStatus->cd_fd < 0) { | |
7 | - if ((pStatus->cd_fd = open (cd_device, O_RDONLY )) < 0) { | |
8 | + if ((pStatus->cd_fd = open (cd_device, O_RDONLY | O_NONBLOCK )) < 0) { | |
9 | if (errno == EACCES) { | |
10 | if (!warned) { | |
11 | exit_ncurses(); |