Commit Graph

1930 Commits

Author SHA1 Message Date
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
9834af4577 Add eject 2005-11-07 07:54:52 +00:00
rocky
c2c69389cd Add cdio_eject_media_drive. 2005-11-07 07:54:41 +00:00
rocky
142c1e9e33 C eject works as C++ too.
Makefile.am: Add some of the dependency tracking.
2005-11-07 07:53:40 +00:00
rocky
9695c4bd50 Update to list various programs. I'm having trouble keeping track of
all them.
2005-11-07 07:49:34 +00:00
rocky
4b43802f85 Add eject.c. 2005-11-07 07:45:20 +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
f0e815c967 Small typos. 2005-11-06 22:50:37 +00:00
rocky
33b8449e7e More separation between posix_mode_t and mode_t. 2005-11-06 20:02:39 +00:00
rocky
18e8567d8a posix_mode_t -> mode_t 2005-11-06 19:26:12 +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
f7bd8503b6 I think mode_t (not posix_mode_t) is correct here. The goal is to use
in normal OS file operations.
2005-11-06 19:12:35 +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
7c6b8742c3 Patch from Steve Schultz @LIBGETOPT_LIB@ may have -l in it. 2005-11-04 09:38:57 +00:00
rocky
7a36273edc Don't have udf_read_block yet... 2005-11-04 08:15:18 +00:00
rocky
0a0b4b6017 New test program for reading files. (Doesn't work yet.) 2005-11-04 04:23:34 +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
c68faa94c1 Remove small valgrind memory leak. 2005-10-30 16:09:35 +00:00
rocky
7cf3194860 Fix small valgrind leak. 2005-10-30 16:04:11 +00:00
rocky
f91f3dd65c udf1.c: Do better about dealing with recursive directories.
iso-info.c: small variable name change
2005-10-30 15:58:37 +00:00
rocky
788be22393 Minor misspelling in comment. 2005-10-30 14:26:11 +00:00
rocky
cf5698997d Minor typographical misspellings in comment 2005-10-30 14:25:46 +00:00
rocky
8524d367b3 udf_times_to_stamp -> udf_timespec_to_stamp 2005-10-30 14:10:44 +00:00
rocky
8555f75652 Break off udf_file routines from udf.h 2005-10-30 07:36:15 +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
rocky
031b7199e9 Add more access functions. 2005-10-29 14:43:50 +00:00
rocky
df6402a4fd OS/X's linker does not permit common symbols in shared libs. 2005-10-29 03:43:14 +00:00
rocky
c74242e942 Use MMC routine for reading data blocks. At leat on XP home it seems to work
better than generic read which is a cooked read.
2005-10-28 12:43:30 +00:00
rocky
f24ea41e6f Lex/Flex cdrdao TOC scanner 2005-10-27 11:20:21 +00:00
rocky
5583cbccd7 More documentation of ecma 167. Some fields changed names. More
#defines removed/replaced by enum type and variables.
2005-10-27 11:18:56 +00:00
rocky
aa46500486 Need to move long timezone test lower for Cygwin 2005-10-27 03:47:32 +00:00
rocky
311bed3fba Attempt to deal with OS's (like BSDI) that don't have an extern long timezone. 2005-10-27 03:26:39 +00:00
rocky
2ee302e4f8 Changes to make work on Cygwin. However probably need a more general
test for timezone being extern long.
2005-10-27 03:03:42 +00:00
rocky
8881e6b50d File entry update fixed on udf_get_next().
More access functions added to return a UDF file entry
and to interpret a permission string.
2005-10-27 01:23:48 +00:00
rocky
401cb0f35a Typo. 2005-10-26 23:55:02 +00:00
rocky
645cbacbc2 Add some UDF time routines and time-conversion routines.
Note: udf_get_next() needs to advance file entry info
2005-10-26 02:05:53 +00:00
pjcreath
d58ce669d9 Fixed Darwin builds broken by dependency tracking. 2005-10-25 14:16:41 +00:00
rocky
7f0b38bc91 libiso9660 -> libudf 2005-10-25 13:20:31 +00:00