freebsd-ports/audio/grip/files/patch-ac
Steve Price 378999b03e Avoids bus errors by closing and re-initializing the device before we
try to re-open it.

PR:		20979
Submitted by:	Orion Hodson <O.Hodson@cs.ucl.ac.uk>
2000-09-05 01:33:44 +00:00

15 lines
285 B
Plaintext

--- cd.c.orig Tue Apr 18 10:37:44 2000
+++ cd.c Mon Sep 4 17:59:26 2000
@@ -98,6 +98,11 @@
return cd_desc;
}
+void CDCloseDevice(int cd_desc)
+{
+ close(cd_desc);
+}
+
/* Update a CD status structure... because operating system interfaces vary
so does this function. */