Commit Graph

302 Commits

Author SHA1 Message Date
rocky
83c0d43b97 Small changes 2007-08-04 21:40:46 +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
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
af4f23725b Patch by Gergely Szász 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
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
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
gmerlin
511c0b9416 * UTF-8 support patch 2006-06-02 21:54:21 +00:00
rocky
22608b594e stream: add getpos routine
udf: save last read position.
2006-04-15 03:05:14 +00:00
rocky
80ab1a301c libcdio.sym: add mmc_close_tray
cdda-player.c, mmc-tool.c: remove possibility of uninitialized return
code variables
2006-04-14 22:17:08 +00:00
rocky
0c2b1bfa9e mmc: add mmc_close_tray().
mmc-tool: add option for close tray and to get mode-sense 2A data.
2006-04-12 09:30:14 +00:00
rocky
3c8e10bf67 . 2006-04-05 03:55:09 +00:00
rocky
d71d515ee6 Make so we can call from driver. Some comment changes too. 2006-04-05 02:20:06 +00:00
rocky
edc8056ec9 Clarify the difference betweeen speed as it is defined in the MMC spec
and drive unit speeds. Add a new mmc routine for the latter.
2006-04-04 02:06:12 +00:00
rocky
10b57b2ddd gnu_linux: Use internal routine to set the speed.
mmc.c: add more debug_ variables for new enums and extern vars in mmc.h
set speed is in the write direction not read
2006-04-03 19:31:18 +00:00
rocky
d45449d271 For read_data_sectors, try first MMC commands and then cooked I/O. 2006-03-28 13:16:09 +00:00
rocky
dbc63b695a Yet another attempt to get "get_drives_with_cap" working in a rational
fashion.
2006-03-28 03:26:16 +00:00
rocky
10942d5ba3 One more time, go over logic of get_drives_with_cap. 2006-03-27 02:48:41 +00:00
rocky
8b24c3a47e Bug in get_drive_types_with_cap: Had wrong boolean logic. 2006-03-26 20:47:55 +00:00
rocky
393af6efc3 Untabify 2006-03-26 02:35:26 +00:00
rocky
f7c122285d Add/correct comments. osx.c: remove tabs. 2006-03-26 02:34:41 +00:00
rocky
8f125ff0a4 typo 2006-03-18 01:56:19 +00:00
rocky
49bc5ccb3f Security: replace all uses of strcat and strcpy with strncat and strncpy 2006-03-18 00:53:20 +00:00
rocky
69ecb8d916 mmc_direction_t -> cdio_mmc_direction_t 2006-03-17 19:06:51 +00:00
rocky
6a671c70c5 mmc_direction_t -> cdio_mmc_direction_t 2006-03-17 03:10:53 +00:00
rocky
2cb388781d Update library version numbers for possible release. FSF address change. 2006-03-14 12:05:16 +00:00
rocky
2350ea3e52 Don't do library versioning if there no object files to look at. This
removes spurious "nm: no a.out" messages when --disable-shared is in effect.
2006-03-07 11:19:12 +00:00
flameeyes
ef8e2a7c3e scsi_mmc_cdb_t -> mmc_cdb_t; scsi_mmc_direction_t -> cdio_mmc_direction_t; make FreeBSD driver build again. 2006-03-03 09:50:30 +00:00
flameeyes
0ea25b4c90 Add missing include in freebsd driver (fix implicit declaration of htonl). 2006-03-02 20:48:34 +00:00
flameeyes
3658a88d65 Use complete struct initialization to avoid spurious pointers. 2006-02-27 10:29:20 +00:00
flameeyes
5ef1d37f44 Don't put two strcmp() calls in bodyless if costructs when building the release version. Use -DTODO in CFLAGS to get the warning again. 2006-02-27 10:27:39 +00:00
flameeyes
af487f92a3 Don't check for an unsigned value to be >= 0. 2006-02-27 10:23:52 +00:00
flameeyes
34bdf67d45 Use preprocessor's #error instead of adding invalid code, makes the error more verbose and waste less time (as it stops during preprocessing instead of compiling). 2006-02-27 09:48:55 +00:00
rocky
f54b63d068 Was accessing outside of legal range. Addresses bug #15787 Thanks to
demo-n.
2006-02-18 22:47:41 +00:00
rocky
489d714f89 Comment change. 2006-02-18 19:37:55 +00:00
rocky
6cbdfae3e2 scsi_mmc_direction_t -> cdio_mmc_direction_t 2006-02-18 19:36:07 +00:00
rocky
da74e72b38 image/* Wrong sizeof.
mmc: remove some deprecated things.
2006-02-13 11:00:53 +00:00
rocky
695091068b Replace yet another set of #defines with an enum. 2006-02-13 08:44:17 +00:00