bincue.c: was using NRG default devices!

cd_types.c: declare variable so we pick up debug info.
This commit is contained in:
rocky
2006-02-10 18:04:17 +00:00
parent 97f00c4da9
commit 59e83162e5
2 changed files with 11 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/* /*
$Id: cd_types.c,v 1.3 2005/02/17 11:54:28 rocky Exp $ $Id: cd_types.c,v 1.4 2006/02/10 18:04:17 rocky Exp $
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com> Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -60,6 +60,13 @@ and
*/ */
/** The below variables are trickery to force enum symbol values to be
recorded in debug symbol tables. They are used to allow one to refer
to the enumeration value names in the typedefs above in a debugger
and debugger expressions.
*/
cdio_fs_cap_t debug_cdio_fs_cap_t;
static char buffer[6][CDIO_CD_FRAMESIZE_RAW]; /* for CD-Data */ static char buffer[6][CDIO_CD_FRAMESIZE_RAW]; /* for CD-Data */
/* Some interesting sector numbers stored in the above buffer. */ /* Some interesting sector numbers stored in the above buffer. */

View File

@@ -1,5 +1,5 @@
/* /*
$Id: bincue.c,v 1.16 2006/01/21 11:04:30 rocky Exp $ $Id: bincue.c,v 1.17 2006/02/10 18:04:17 rocky Exp $
Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com> Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org> Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
@@ -26,7 +26,7 @@
(*.cue). (*.cue).
*/ */
static const char _rcsid[] = "$Id: bincue.c,v 1.16 2006/01/21 11:04:30 rocky Exp $"; static const char _rcsid[] = "$Id: bincue.c,v 1.17 2006/02/10 18:04:17 rocky Exp $";
#include "image.h" #include "image.h"
#include "cdio_assert.h" #include "cdio_assert.h"
@@ -944,7 +944,7 @@ cdio_get_devices_bincue (void)
char * char *
cdio_get_default_device_bincue(void) cdio_get_default_device_bincue(void)
{ {
char **drives = cdio_get_devices_nrg(); char **drives = cdio_get_devices_bincue();
char *drive = (drives[0] == NULL) ? NULL : strdup(drives[0]); char *drive = (drives[0] == NULL) ? NULL : strdup(drives[0]);
cdio_free_device_list(drives); cdio_free_device_list(drives);
return drive; return drive;