I don't think that opening /dev/midi will ever fail, but just in
case... :-)
--- orig/main.c Mon Aug 8 05:05:16 1994
+++ main.c Tue Aug 16 19:25:08 1994
@@ -843,8 +843,8 @@
curproc->handle[3] = curproc->prn = f;
f->links = 2;
}
+ f = do_open("U:\\DEV\\MIDI", O_RDWR, 0, (XATTR *)0);
if (f) {
- f = do_open("U:\\DEV\\MIDI", O_RDWR, 0, (XATTR *)0);
curproc->midiin = curproc->midiout = f;
f->links = 2;
}