rocky
ddf569dbea
Apply kfreebsd patch from Debian.
2007-12-15 22:36:35 +00:00
rocky
8e48c0ad7f
Run a Multimedia command (MMC) specifying the CDB length.
...
The motivation here is for example ot use in is an undocumented
debug command for LG drives (namely E7), whose length is being
miscalculated by mmc_get_cmd_len(); it doesn't follow the usual
code number to length conventions. Patch supplied by SukkoPera.
2007-11-21 03:01:58 +00:00
flameeyes
4394fdac61
Fix logic.
2007-11-16 22:50:21 +00:00
flameeyes
d9c5a8094e
Fix typo.
2007-11-16 22:29:07 +00:00
flameeyes
ab133c5fc5
Do not assume that sizeof(int) == sizeof(long), the assumption is wrong on 64-bit arches. Reduce the size of strtol range when filling a struct tm variable.
2007-11-16 21:46:11 +00:00
flameeyes
00b3c309ef
Include config.h before checking for HAVE_JOLIET or it will never build the function.
2007-11-16 21:31:53 +00:00
rocky
4759107d7c
libcdio cdparanoia doing the wrong thing on a single-sector read. Savannah patch #5999 .
2007-10-16 15:32:02 +00:00
rocky
40c531fed9
Remove := in Makefiles for portability.
...
autoconf 1.10 complains about adding AM_PROC_CC_C_O - pander to it.
2007-10-15 04:53:59 +00:00
rocky
eb8a5388ad
Go over shared library revision numbers and NEWS in advance of a Oct 27 0.79 release.
2007-10-13 08:42:57 +00:00
rocky
ad29b3b4c5
Ooops - typedef typo
2007-09-28 12:10:55 +00:00
rocky
cddf780736
paranoia.h, p_block.c: Add paranoia_set_range and correct #define in paranoia.h
...
common_interface.c: try to give credit where it is due.
2007-09-28 12:09:38 +00:00
rocky
4e284bcac0
Not just lead-out gap, but lead-out + pregap
2007-09-28 00:28:18 +00:00
rocky
b6aa3db584
Support for multisession CD Extra Discs courtesy of Patrick
...
Guimond.
testiso9660.c: remove ltime comparison check. :-(
2007-09-28 00:25:43 +00:00
rocky
f817761954
iso9660_open_ext_private(): close image filecupon error.
...
Leds to an open file descriptor making it impossible of
e.g. unmounting a CDROM containing the file. Savannah bug #21147 .
2007-09-26 05:30:15 +00:00
rocky
8734346d8d
iso9660.c: off-by-one bug which was causing dates to come out
...
wrong. Thanks to Nicolas Boullis for finding and fixing.
iso9660_fs.c: remove bugs merging code from the last round of
changes/enhancements
check_common_fn.in: show full iso_read command when it fails.
2007-09-05 11:17:36 +00:00
rocky
a33bb59a7f
iso9660_fs.c: remove some (but not all) of the redundancy
...
testisocd2.c.in: a test of working with an ISO 9660 image.
2007-08-12 12:41:10 +00:00
rocky
2a01d008fc
iso9660_fs.c: remove some bugs in freeing here.
...
isolsn.c: Add a sample program for showing the path for given LSN.
2007-08-12 00:56:09 +00:00
rocky
de2c6a18ae
Add iso9660_fs_find_lsn_with_path and iso9660_ifs_find_lsn_with_path to report the full filename path of lsn.
2007-08-11 16:26:14 +00:00
flameeyes
bba9e0eb8b
Workaround a missing callback, failures are called immediately, sucesses are queued and might not be called properly.
2007-08-11 12:28:25 +00:00
flameeyes
48751a50f3
Borrow the eject code for OSX from xine-lib-1.2-macos branch, as contributed
...
by Matt Messier. This allows to eject disks on Mac OS X without having to
call an external utility.
Incidentally this fixes libcdio eject function on Mac OS X 10.4 and later, as
hditool was moved from /usr/sbin to /usr/bin.
2007-08-09 02:19:40 +00:00
rocky
83c0d43b97
Small changes
2007-08-04 21:40:46 +00:00
rocky
6d7c054fdd
Add note about funny strtol test and correct test. Thanks to Nicolas Boullis for finding this.
2007-08-04 00:43:26 +00:00
rocky
fb488ed956
Remove possible access of uninitialized cdio_hwinfo structure.
2007-05-27 17:14:14 +00:00
rocky
4fc826a94a
Update copyright and email address.
2007-05-27 15:02:13 +00:00
rocky
20759efb0f
Fix bug in trying to free cd-text when it hasn't been initialized.
2007-05-27 14:59:23 +00:00
rocky
d9fc7b742b
Patches from sms to deal with off_t not getting defined.
2007-03-10 23:57:58 +00:00
rocky
e52da6ef99
lib/driver/gnu_linux.c: bug #19221 (possibly): memory Leak opening an inaccessible device.
...
cdchange.c: a stray character got added to the file
2007-03-07 04:35:47 +00:00
rocky
07b1944cb6
Better strtol fix based on SMS's remark.
2007-03-05 11:49:24 +00:00
rocky
0dc4e4d5ae
Set errno=0 before calling strtol(). bug #18131
2007-03-05 11:18:49 +00:00
rocky
9e24b5594f
Update cdio_read documentation.
2007-02-25 15:58:31 +00:00
rocky
2df6dfaa21
Symlinks were sharing stat_buf so freeing one made the pointer to the
...
other invalid. Allocate a separate entry for each symlink.
Bug report and patch provided by Antti Perl. Savannah bug #18563
2006-12-20 09:26:35 +00:00
rocky
af4f23725b
Patch by Gergely Szsz to respect --disable-joliet.
...
(Things may change when UDF is more in use though.) Bug report #18522
2006-12-14 00:45:25 +00:00
gmerlin
e3be1cb109
* Fixed potential security issues
2006-11-28 12:14:16 +00:00
gmerlin
efc2151bc1
* Better drive detection for Linux
...
* cdio_add_device_list() now adds devices with symlinks only once
2006-11-27 19:31:37 +00:00
rocky
a470acc5ab
Prepare a release that doesn't have the .so problem.
2006-10-28 02:11:24 +00:00
rocky
52ed17c992
gnu_linux.c: Fix bug reported by Burkhard in eject_media_linux() where
...
we were closing an open tray.
NEWS/README: note current changes
2006-10-21 11:38:16 +00:00
gmerlin
63d8add85e
* Umount before ejecting
...
* Ultra simple eject command
2006-10-21 10:55:18 +00:00
rocky
c1f11393ac
Add routine to get tray status (open/closed) and sample program.
...
Seems broken at least on SuSE 10.1 if not other GNU/Linux's though.
2006-10-11 12:38:17 +00:00
flameeyes
932617cf75
Check for the pointers before dereference them. Found by Coverity Scan on xine-lib.
2006-09-26 22:21:09 +00:00
flameeyes
232b7e8edc
Check for the validity of the pointer before using strlen on it. Found by Coverity Scan on xine-lib.
2006-09-26 22:08:13 +00:00
flameeyes
60cc012bb8
Fix a possible off-by-one in strip_trail() identified by Coverity Scan on xine sources.
2006-09-26 18:07:59 +00:00
rocky
9cd49d2bd8
Patches from Steve Schultz to handle libiconv inclusion on BSDI (and
...
possibly other BSD's)
2006-08-20 23:50:16 +00:00
rocky
bb7a5244e5
Yet another guess at what happened to the CDROMREADTOCENTRY ioctl
...
call. I haven't been able to find anything that documents in any
detail how to use this ioctl let alone the weird behavior where
CDROMREADTOC header beforehand turns and "invalid parameter" into a
valid one. It's not the way other 'nix's work.
2006-08-02 11:00:31 +00:00
rocky
6a7e4c5d8f
gnu_linux: get_disc_last_lsn: cdte_format seems to want to be CDROM_MSF
...
example/tracks.c: add a call to cdio_get_disc_last_lsn()
NEWS - note UDF limitation. correct spelling typo.
2006-07-30 13:19:49 +00:00
gmerlin
5e4307a3b3
* UTF-8 support
2006-06-03 15:35:49 +00:00
rocky
e06f4960ce
C lint.
2006-06-03 00:05:57 +00:00
gmerlin
511c0b9416
* UTF-8 support patch
2006-06-02 21:54:21 +00:00
rocky
5d3ef6fa82
Add missing field in SVD structure. Document correspondencies with ECMA 119
...
better.
2006-05-06 16:08:06 +00:00
rocky
7b14288feb
gcc 2.9 fix remove ;; - thanks to sms
2006-04-28 16:38:23 +00:00
rocky
e7e73c05d8
UDF file reading works for strategy 4. What a pain in the ass.
2006-04-17 03:32:38 +00:00