]> git.pld-linux.org Git - packages/cdp.git/commitdiff
- no blocking open cd device.
authorkloczek <kloczek@pld-linux.org>
Wed, 21 Jun 2000 07:09:45 +0000 (07:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cdp-nonblock.patch -> 1.1

cdp-nonblock.patch [new file with mode: 0644]

diff --git a/cdp-nonblock.patch b/cdp-nonblock.patch
new file mode 100644 (file)
index 0000000..0fbda92
--- /dev/null
@@ -0,0 +1,11 @@
+--- cdp-0.33/hardware.c.foo    Thu Jun  8 17:21:40 2000
++++ cdp-0.33/hardware.c        Thu Jun  8 17:24:18 2000
+@@ -175,7 +175,7 @@
+     int                     ret = 1;
+     if (pStatus->cd_fd < 0) {
+-        if ((pStatus->cd_fd = open (cd_device, O_RDONLY )) < 0) {
++        if ((pStatus->cd_fd = open (cd_device, O_RDONLY | O_NONBLOCK )) < 0) {
+             if (errno == EACCES) {
+                 if (!warned) {
+                   exit_ncurses();
This page took 0.126201 seconds and 4 git commands to generate.