This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
libcdio-osx/lib/driver
rocky 320c9bd55f Patch from Burkhard Plaum:
1. In the function is_cdrom_linux(...) in the file lib/driver/gnu_linux.c,
   the CDROMREADTOCHDR ioctl gets called, which fails when the drive is
   empty. The CDROM_GET_CAPABILITY ioctl always succeeds for CDrom drives
   and fails for hard disks etc.

2. For some reason, at least my (GNU/Linux 2.6.10) Kernel fails to
   open empty drives, when only O_RDONLY is used. Changing the open flag to
   O_RDONLY|O_NONBLOCK, the call succeeds also for emtpy drives.
   By the way, the cdrom header file in the kernel says explicitely,
   that O_RDONLY|O_NONBLOCK should used whenever a cdrom is touched.

rocky: also made a change to eject to continue even if we can't get
the drive status -- which we can't with an empty CD-ROM drive.
2005-04-23 01:16:19 +00:00
..
2005-04-14 01:24:32 +00:00
2005-04-09 22:56:07 +00:00
2005-04-23 01:16:19 +00:00
2004-12-18 17:29:32 +00:00
2005-03-14 02:02:49 +00:00
2004-12-18 17:29:32 +00:00
2005-04-23 01:16:19 +00:00
2005-04-23 01:16:19 +00:00
2005-03-09 11:19:52 +00:00
2004-12-18 17:29:32 +00:00
2005-04-23 01:16:19 +00:00
2005-02-06 04:20:25 +00:00
2005-04-23 01:16:19 +00:00
2005-02-06 04:20:25 +00:00