]> git.pld-linux.org Git - packages/cdp.git/blob - cdp-nonblock.patch
- ncurses rebuild
[packages/cdp.git] / cdp-nonblock.patch
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();
This page took 0.051902 seconds and 3 git commands to generate.