Commit Graph

5 Commits

Author SHA1 Message Date
rocky
16bdbf2615 Remove libpopt.
cd-drive, cd-info: some source option bug fixes
osx.c: bug in duplicate free in add-device

Patches and bug fixes courtesy Peter J. Creath
2005-10-05 09:48:11 +00:00
rocky
b4994b8c3f Remove double free of str_bsd_path. Thanks to Peter J. Creath for
finding/fixing.
2005-09-30 00:01:09 +00:00
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
rocky
02ce555171 A hacky OSX close drive routine. It doesn't handle the actual drive
paramater because we don't really know how to pass that to druti.
2005-03-13 04:42:38 +00:00
rocky
d76eddad1b Revise play_audio_msf for start/end as it should be.
_cdio_*driver*.c -> *driver*.c
2005-03-05 09:26:52 +00:00