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
rocky
9c72d5971f
udf_time.c: make sure offset is initialzed (Darwin doesn'thave TIMEZONE var).
...
.cvsignore: add .gdb_history
2006-02-13 01:59:28 +00:00
rocky
2ed5e267c9
Use strncopy rather than strcpy in get_hwinfo. Make sure all strings have
...
null byte at the end.
2006-02-13 01:43:29 +00:00
rocky
cccc78a064
Put in a much more stringent NRG image test. This means that for now
...
we won't require the .NRG extension.
2006-02-12 10:48:11 +00:00
rocky
22d1c0dfa6
Fix bugs on accessing outside of string. Patch thanks to Diego
...
'Flameeyes' Petten. And he cleaned up and shortened the code too!
2006-02-12 05:32:28 +00:00
rocky
59e83162e5
bincue.c: was using NRG default devices!
...
cd_types.c: declare variable so we pick up debug info.
2006-02-10 18:04:17 +00:00
rocky
d25c11fbb8
cdio_driver_return_code_to_str -> cdio_driver_errmsg
2006-02-02 04:37:29 +00:00
rocky
3861e929ef
Fix bug in is_device when driver_id = DRIVER_UNKNOWN or DRIVER_DEVICE
2006-02-01 00:45:45 +00:00
rocky
413f887b1d
Commit some of the temporary UDF stuff. It will either be completed or
...
disabled later.
2006-01-26 04:41:50 +00:00
rocky
68d35cea80
Now check to see if we have config.h *AND* it hasn't been included before.
2006-01-23 20:48:11 +00:00
rocky
4c77464d81
config.h now seems to get included.
2006-01-23 20:31:11 +00:00
rocky
fe1bef3563
Note that this is not used and probably hasn't been in a while.
2006-01-21 11:35:38 +00:00
rocky
c89687d87f
Had uninitialized set_speed and set_blocksize opts caused core dumps
...
if called.
2006-01-21 11:04:30 +00:00
rocky
5ac663c6a2
Add cdio_driver_return_code_to_str() to give a string interpretation
...
of a driver return code.
2006-01-15 01:26:50 +00:00
rocky
088c1e62a9
Document behavior of cdio_open* and media_eject when no device given.
2006-01-14 10:10:34 +00:00
rocky
c5111267ca
Fix compiler error introduced by last enum change.
2006-01-14 09:48:42 +00:00
rocky
8bf123a750
More enumerations.
...
*.c: add "debugger" enumeration variables.
2006-01-14 09:45:44 +00:00
rocky
8cc672c305
Remove GCC 4 warning about ignored "packed".
2006-01-14 08:58:25 +00:00
rocky
fe54e2baa8
In C++ read.h needs <sys/types.h>. Don't know if this should be fixed
...
here (where we could concievably check for HAVE_SYS_TYPES_H or in
read.h (where it would be inde via cdio_config.h, but for now we'll do
it this way.
2006-01-05 22:01:44 +00:00
rocky
99ea8b6fbe
Using inline seems to cause a linking problem. Don't know exactly
...
under what conditions or why, but "inline" isn't all that vital.
2006-01-05 21:58:52 +00:00
rocky
edfc03ac78
*** empty log message ***
2005-11-10 11:23:42 +00:00
rocky
d7dd4a6c8a
First cut at a C++ wrapper for libcdio libcdio++. What's not done are
...
audio and MMC commands. No doubt it may be a little rough and I expect
further changes.
2005-11-10 11:11:15 +00:00
rocky
d035ad1221
add read_sector{s}
...
cdtext.h: Small typo.
2005-11-10 00:44:40 +00:00
pjcreath
416d729fa5
Documented silence matching
2005-11-08 23:21:40 +00:00
pjcreath
8da7896c23
Commented stage 2 extensively.
2005-11-07 20:06:45 +00:00
pjcreath
b460e8bb31
Cleaned up TRACE_PARANOIA and added some messages for the skip case.
2005-11-07 19:48:50 +00:00
rocky
c2c69389cd
Add cdio_eject_media_drive.
2005-11-07 07:54:41 +00:00
rocky
6f81e9252b
Add interface to eject CD-ROM by device name.
...
eject.c: new routine to test/show this.
example/*.c iso2.cpp: Note in comment allowance of an optional argument.
2005-11-07 07:44:00 +00:00
rocky
2f8e8b9529
Was giving a failure status on eject when it succeeded. The failure
...
was because ioctl(fd, BLKRRPART) didn't succeed. Turn this into a
cdio_info warning instead.
2005-11-07 07:41:29 +00:00
rocky
33b8449e7e
More separation between posix_mode_t and mode_t.
2005-11-06 20:02:39 +00:00
rocky
00fba6a2c0
Return type of iso9660_get_posix_mode should be mode_t (the OS-specific
...
version), not posix_mode_t (cdio's internally consistent version.
2005-11-06 19:15:43 +00:00
rocky
643ab46b25
Need #include<sys/stat.h>
2005-11-06 00:42:17 +00:00
rocky
6e4743c734
Break out POSIX-like definitions to posix.h
...
Add ISO9660 routines to convert to mode_t
Record whether XA or not in iso9660_stat_t.
And other definition shifting around.
2005-11-06 00:39:37 +00:00
rocky
765b1529ea
A couple of corrections on udf_get_file_length().
2005-11-02 03:49:15 +00:00
rocky
78883887df
Add routine to get file length.
...
Fix bug in retrieving dirent for root.
Reduce overhead in udf_get_link_count()
2005-11-02 03:42:49 +00:00
rocky
e9851bf3a3
udf_find_file -> udf_fopen and made closer to fopen(). It also
...
simplifies things a little bit. Start testing.
2005-11-01 13:07:01 +00:00
rocky
00a3010210
Remove extraneous parameter on udf_opendir().
2005-11-01 03:21:04 +00:00
rocky
7de9d148bf
Rename some functions to be more like POSIX file reading, i.e. add
...
udf_opendir() and udf_readdir(). udf_file_entry_t -> udf_dirent_t.
2005-11-01 03:14:49 +00:00
rocky
8524d367b3
udf_times_to_stamp -> udf_timespec_to_stamp
2005-10-30 14:10:44 +00:00
rocky
9ec9c5a991
Break of file routines into udf_file.{c,h}
...
udf1: Add link count
2005-10-30 07:35:36 +00:00
rocky
6c7ca93321
Replace some numbers with enum "constants".
2005-10-30 06:06:09 +00:00
rocky
17de10953a
Fill out file modes better and clean up interface more by trying to
...
funnel into POSIX file mode_t. FIXME: something needs to be done to
merge ISO9660 interfaces and UDF and probably the right thing is to
make it look like POSIX. Would be nice if there were a library
e.g. from GNU fileutils I could use to help.
2005-10-30 05:43:01 +00:00
rocky
7b44e5b47e
Fill out posix attributes a little. Add directory listing to output.
2005-10-29 14:52:47 +00:00