Commit Graph

31 Commits

Author SHA1 Message Date
rocky
b78955226e cd-read add --mode='any' which is basically a mmc_read_cd with
CDIO_MMC_READ_TYPE_ANY.
2008-03-06 01:16:49 +00:00
rocky
94eda2ef9d Add --just-hex option to cd-read. Not all OS's agree on what's printable. 2006-03-17 23:37:19 +00:00
rocky
25a76d78cb Put back in getopt.h, getopt.c, getopt1.c. Solaris doesn't always have
it and it's really too much of a hassle to do all that configuration
code to figure out where it is and what has to be done to get it to
work.
2006-03-17 19:36:54 +00:00
rocky
c8fa10bf16 Use new read_sector routine. 2005-11-11 12:47:02 +00:00
rocky
9361acfc42 More stdout->stderr and exit(EXIT_INFO) on help. 2005-10-06 09:51:21 +00:00
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
e8721c1e4e The type of (option) opt needs to be int not char and this is
noticable on ppc where char is unsigned by default.

Furthermore, poptGetNextOpt() returns an int, not a char.

Bug noticed and patch all thanks to Nicolas Boullis.
2005-09-18 20:34:02 +00:00
rocky
834b1d06b6 cd-info.c: tolerate CDDB options even when we don't support CDDB.
Better error reporting of bad options.
2005-02-19 11:43:05 +00:00
rocky
4ce2a5fe57 Create open_input() for common input open routines.
Input error messages have been gone over. cd-read is a little more
like the rest.

Regression output now has NO-WARRANTY.
2005-01-09 00:10:48 +00:00
rocky
152d8508b7 Common output routine in utility programs as a concession to
environments which may no have or prefer stdout/stderr such as XBOX.
2004-11-04 10:08:23 +00:00
rocky
b1616ea6d5 Add scsi_mmc_get_hwinfo. 2004-07-31 07:43:26 +00:00
rocky
ca69284de2 Add cdtext display to cd-info and adjust regression tests accordingly.
cd-read.c: don't try to print null strings.
2004-07-16 21:29:24 +00:00
rocky
a5d03e58ba Make sure source_name a malloc'd, so we can uniformly free it when
not needed.
2004-05-31 14:52:04 +00:00
rocky
95546002d5 Add --hexdump and --no-hexdump options. We now can hexdump to a file and
dump bytes stdout (which may be useful in a pipe).
2004-05-26 00:52:53 +00:00
rocky
f04f14c312 Add some cdrdao image reading support from Svend S. Sorensen's
cuetools

cdio.c: remove some complicated and extraneous code for auto-driver
detection.
2004-05-04 02:06:48 +00:00
rocky
c090e7ee81 Fix some of the memory leaks and uninitialized variables which valgrind
notices.
2004-02-07 02:40:20 +00:00
rocky
919971a60f Allow setting debug level in library for default log handler. 2003-11-10 03:47:37 +00:00
rocky
094861183a Don't print blocks if read failed. 2003-10-20 04:28:38 +00:00
rocky
824ceecbad Typo. 2003-10-16 13:21:56 +00:00
rocky
adb9c05db9 *** empty log message *** 2003-10-15 02:35:19 +00:00
rocky
71b5bd60c3 Show green status for each track.
cd-info.c: above + fewer assertions
cd-read.c: direction we'll go when after release.
2003-10-15 01:59:51 +00:00
rocky
c05b68f5e2 Lint that BSDI caught. 2003-10-03 01:33:15 +00:00
rocky
d63dec6ebe BSDI Fixes. 2003-10-02 02:59:57 +00:00
rocky
3c5888e31d Replace techno-wizard message "Get MCN" with more layman "Media Catalog Number" 2003-09-27 23:29:29 +00:00
rocky
a1494406c1 More flexibility: allow any two of start, end, count. If only one or
none are given, we'll supply default values.
2003-09-22 01:00:10 +00:00
rocky
9368735a1c Make cd-read more user-friendly and do more things:
Add start/end/count options for cd-read,
  Input argument doesn't need a specifier (-i or --cue-file) now.
  block sizes for various formats have been set correctly now.
2003-09-21 18:43:36 +00:00
rocky
d3909991ab Break out common standalone routines from cd-info and cd-read. 2003-09-21 04:21:39 +00:00
rocky
11d4eb000c Add options processing to cd-read. Had not very useful output on
mode1 format1 test.
2003-09-21 03:35:39 +00:00
rocky
aa70b565c4 Adjust block length for mode1 read 2003-09-19 04:36:06 +00:00
rocky
12b3a4b1d8 Silence cdio output 2003-09-19 04:11:23 +00:00
rocky
9a97232136 Add cd-read.c for debugging CD reading problems. 2003-09-17 12:13:07 +00:00