- the changes are checked in

This commit is contained in:
Volker Ruppert 2002-03-02 11:32:56 +00:00
parent 8e3e768922
commit ff5a3a14e9

View File

@ -1,21 +0,0 @@
something like this is receommended by Petr Stehlik <pstehlik@sophics.cz>
Index: iodev/cdrom.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/iodev/cdrom.cc,v
retrieving revision 1.28
diff -u -r1.28 cdrom.cc
--- iodev/cdrom.cc 7 Feb 2002 17:38:33 -0000 1.28
+++ iodev/cdrom.cc 22 Feb 2002 19:42:53 -0000
@@ -379,6 +379,11 @@
}
#endif
+#if __linux__
+ if (!using_file)
+ ioctl (fd, CDROMEJECT, NULL);
+#endif
+
close(fd);
fd = -1;
}