Commit Graph

1303 Commits

Author SHA1 Message Date
rocky
49bc5ccb3f Security: replace all uses of strcat and strcpy with strncat and strncpy 2006-03-18 00:53:20 +00:00
rocky
611fc94450 Replace strcat and strcpy with strncat, strncpy. 2006-03-17 22:36:31 +00:00
rocky
69ecb8d916 mmc_direction_t -> cdio_mmc_direction_t 2006-03-17 19:06:51 +00:00
rocky
11cb91da13 More time corrections in the presense of timezones, daylight savings time,
and HAVE_TM_GMTOFF
2006-03-17 13:00:43 +00:00
rocky
2e730474fd use tzset to try to get GMT read. 2006-03-17 03:19:15 +00:00
rocky
6a671c70c5 mmc_direction_t -> cdio_mmc_direction_t 2006-03-17 03:10:53 +00:00
rocky
a418cf06ba iso9660_get_{l,d}time() anot accounting for the timezone properly.
Some other small bugs removed.
2006-03-17 01:05:54 +00:00
rocky
2cb388781d Update library version numbers for possible release. FSF address change. 2006-03-14 12:05:16 +00:00
rocky
62386a361a iso9660.h: note b_mode2 parameter is not used any more
cdda-player.c
FSF address change.
2006-03-14 11:40:05 +00:00
rocky
509aaf7798 comment change - 0x2->FLAGS_UNREAD 2006-03-13 02:08:14 +00:00
rocky
2c2245652d Go back to inlining various functions because older STL's can't handle
not having the bodies. (I think this is what's going on, but I'm not
completely sure. Deals with failure on older BSDI and gcc 2.95 server)
2006-03-07 20:54:22 +00:00
rocky
b98683ea1f Code for Cdio::Devices Class 2006-03-07 20:01:26 +00:00
rocky
29d414594d Change list of files from a list to a vector. read_pvd() for
ISO9660::FS works. iso4.cpp: show ISO 9660 info for CD-images (like
iso1 for ISO images).
2006-03-07 19:55:11 +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
rocky
67d4aa6fe9 Move code from devices.hpp and iso9660.hpp headers into external files -
cdio.cpp, device.cpp, iso9660.cpp

configure.ac, C++/OO/Makefile.am: Found some bugs libraries acces in doing the
above move.
2006-03-07 10:46:36 +00:00
rocky
2977ab7c50 Have to have iso9660_find_fs_lsn linker symbol around. (At least for now.) 2006-03-07 00:06:19 +00:00
rocky
7a3ded9bd7 Add ISO9660::FS - the cdio portion of ISO9660 reading.
iso9600.h: another function rename to be more consistent.
2006-03-06 21:54:56 +00:00
rocky
42b0b841d0 iso9660.hpp, iso1.cpp get list iterators working.
rest: add _ to isachar and isadchar
2006-03-06 19:39:35 +00:00
rocky
b6da64e564 Start OO iso1.cpp.
iso3.cpp: valgrind lint.
iso1.cpp: tidy more.
2006-03-06 04:48:37 +00:00
rocky
5e2d4f6bdf Get first libiso9660++ OO program (iso3) working. 2006-03-06 01:34:22 +00:00
rocky
66d6e093aa lib/cdio++/Makeifle.am iso9660.hpp iso9660_stub.cpp: start C++ libiso9660 library
iso9660.h: documentation changes.
device.hpp: reduce number of methods

stub.cpp->cdio_stub.cpp
2006-03-05 06:52:15 +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
rocky
7c7b83f35a Mostly doc changes. However there was a field-name misspelling in iso9660.h 2006-03-02 18:59:13 +00:00
rocky
b8375748c5 Date changed 2006-03-01 20:49:54 +00:00
rocky
4ec818aabd Document iso9660_name_translate{,_ext} more accurately. 2006-03-01 20:48:55 +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
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