Commit Graph

34 Commits

Author SHA1 Message Date
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
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
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
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
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
5d3ef6fa82 Add missing field in SVD structure. Document correspondencies with ECMA 119
better.
2006-05-06 16:08:06 +00:00
rocky
b8d69c67a2 iso9660.h: remove doxygen formatting warning.
configure.ac, NEWS: get ready for 0.77 release
2006-03-18 02:35:06 +00:00
rocky
611fc94450 Replace strcat and strcpy with strncat, strncpy. 2006-03-17 22:36:31 +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
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
42b0b841d0 iso9660.hpp, iso1.cpp get list iterators working.
rest: add _ to isachar and isadchar
2006-03-06 19:39:35 +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
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
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
d8826d36a2 Add --with-versioned-libs for libcdio_paranioa and libcdio_cdda Remove
use of "new" even in private C parts. Changes and patch from Nicholas
Boullis.
2005-09-20 00:42:14 +00:00
rocky
b7a7319c57 Respect localtime parameter in iso9660_get_dtime 2005-03-03 10:32:01 +00:00
rocky
602be8e5c6 win32.c: fill in read_data_blocks (use mmc routine)
iso-info.c: lint cast on output
iso9660.c: deal with struct tm's that don't have gmt_off.
2005-02-27 20:16:08 +00:00
rocky
60032c9c2d Change to iso9660_get_dtime to make dates on Rock-Ridge CD's match
what the OS reports when mounting. A bit was done by trial and error
although it doesn't seem *inconsistent* with standards definitions.
2005-02-26 14:58:53 +00:00
rocky
0661cbd0b6 Don't assume all OS's have tm_gmtoff 2005-02-23 00:43:05 +00:00
rocky
a37cfc0ba4 NEWS: all that's gone on so far in 0.73cvs
README: Note paranoia and samba vfs module
*.{h,c}: more debugger symbols. Use _s convention more.
2005-02-22 10:42:50 +00:00
rocky
7bbdbd4f7c iso9660_get_dtime hack: we've seen it happen that everything except
gmtoff is zero and the expected date is the beginning of the epoch. So
we accept 6 numbers being zero. I'm also not sure if using the of the
Epoch is also the right thing to do either.
2005-02-22 09:55:47 +00:00
rocky
5eacbe6af2 More time corrections as hopefully move towards Nirvana. 2005-02-22 04:32:52 +00:00
rocky
a2fccc90c4 Add routine for extracing ISO 9660 long time format and probably correct
the short-time format a little.

Handle Rock-Ridge time and be able to display it.
This pretty much completes the bulk of handling Rock-Ridge extensions.
2005-02-22 02:02:46 +00:00
rocky
7a45afb450 Fix some memory leaks caught by valgrind. Also replace a relloc - not sure
why valgrind was having problems with that.
2005-02-20 17:47:01 +00:00
rocky
78eabe4f2a iso9660.h, iso9660.c, xa.c, xa.h: Add const char's for debugging use.
iso9660.h: go over yet again for more info from the ECMA 119 spec.
2005-02-12 18:24:21 +00:00
rocky
521fb446a9 All structure tags now end in _s and we have typedefs for all of them
(ending in _t).
iso9660.h: abc -> a.b.c for ISO fields.
2005-02-12 10:23:18 +00:00
rocky
b58349ba1a Make debugger-helping enums extern'd and define onces elsewhere. 2005-02-05 12:37:35 +00:00
rocky
6c14d28918 BIG REORGANIZATION.
Reorganize directory structure for inclusion of cd-paranoia. Works for
GNU/Linux. Other OS's may be broken. Regression test output needs to
be adjusted too.

Move:
lib/driver (split off of lib)
lib/iso9660 (split off of lib)

Add from paranoia:
lib/cdda_interface
lib/paranoia
src/paranoia

Also made some small changes to capability indentification to show
more reading capabilties and show that.

cd-info now shows the total disc size.
2004-12-18 17:29:32 +00:00