Commit Graph

11 Commits

Author SHA1 Message Date
rocky
9137470a8e Redo in a way simpler way that and in a way that valgrind doesn't
think there's a memory leak.
2005-01-15 03:22:48 +00:00
rocky
165363409d The sense I'm getting is that while the bigendianp detection is
clever, it isn't complete. It may be that we need to use this along in
conjunctin with the endianness of the OS. That is instead of
big/little endian, what's needed is same/not same endian.

For now, the simplest thing is to just disable all of this and wait to
discover a CD-ROM drive where we have a problem.
2005-01-14 03:41:11 +00:00
rocky
b33726b00e Fix my recent breakage in adding back GNU/Linux endian determination.
Need to seet nsectors if not GNU/Linux. Some lint things for non-GNU/Linux.
2005-01-09 01:50:56 +00:00
rocky
b9778d3b42 Compilation fix for non-GNU/linux 2005-01-08 20:47:03 +00:00
rocky
c6e33b1a1c Put back some of the GNU/Linux-ism for detecting drive endian-ness.
The data-driven endian correction isn't working correctly.

Ultimately though this code should move down into libcdio (and get
removed from here.)
2005-01-08 20:39:40 +00:00
rocky
f4849ba055 Better about handling non-Unix devices. 2005-01-08 00:56:09 +00:00
rocky
9771c44e95 Remove some Unixisms in checking drive. Rely on libcdio to do the
checking - it's platform independent.

win32_ioctl.c: more detailed info message.
2005-01-06 16:37:30 +00:00
rocky
7b3a089b9f More portability fixes. I think this now does something on BSDI. 2005-01-06 03:38:58 +00:00
rocky
7a2a44a814 The first all libcdio cdda_interface. There are some gaps could be
filled.

cdda_inteface.h renamed to cdda.h

cdio_destroy moved from cdio.h to device.h
2005-01-05 04:16:11 +00:00
rocky
0c35a965fc More integration/cleanup. Now uses cdio bytesex.h's BE/LE routines.
copystring -> strdup.

Some int's changed to track_t. But I need to be careful *not* to change
cdda_interface.h.
2004-12-19 01:43:38 +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