diff --git a/include/cdio/iso9660.h b/include/cdio/iso9660.h index 3463afb6..de9b9422 100644 --- a/include/cdio/iso9660.h +++ b/include/cdio/iso9660.h @@ -1,5 +1,5 @@ /* - $Id: iso9660.h,v 1.87 2006/03/06 21:54:56 rocky Exp $ + $Id: iso9660.h,v 1.88 2006/03/07 00:06:19 rocky Exp $ Copyright (C) 2000 Herbert Valerio Riedel Copyright (C) 2003, 2004, 2005, 2006 Rocky Bernstein @@ -803,6 +803,7 @@ iso9660_dir_calc_record_size (unsigned int namelen, unsigned int su_len); @return stat_t of entry if we found lsn, or NULL otherwise. Caller must free return value. */ +#define iso9660_fs_find_lsn iso9660_find_fs_lsn iso9660_stat_t *iso9660_fs_find_lsn(CdIo_t *p_cdio, lsn_t i_lsn); @@ -1016,7 +1017,6 @@ lsn_t iso9660_get_dir_extent(const iso9660_dir_t *p_idr); /** For compatibility with < 0.77 */ #define iso9660_isdchar iso9660_is_dchar #define iso9660_isachar iso9660_is_achar -#define iso9660_find_fs_lsn iso9660_fs_find_lsn #endif /*DO_NOT_WANT_COMPATIBILITY*/ #ifdef __cplusplus diff --git a/lib/iso9660/libiso9660.sym b/lib/iso9660/libiso9660.sym index 503d7916..be2d45a5 100644 --- a/lib/iso9660/libiso9660.sym +++ b/lib/iso9660/libiso9660.sym @@ -13,6 +13,7 @@ iso9660_dir_init_new iso9660_dir_init_new_su iso9660_dir_to_name iso9660_dirname_valid_p +iso9660_find_fs_lsn iso9660_fs_find_lsn iso9660_fs_read_pvd iso9660_fs_read_superblock diff --git a/test/testbincue.c b/test/testbincue.c index 1f25234b..27ce0952 100644 --- a/test/testbincue.c +++ b/test/testbincue.c @@ -1,5 +1,5 @@ /* - $Id: testbincue.c,v 1.7 2006/02/12 09:38:36 rocky Exp $ + $Id: testbincue.c,v 1.8 2006/03/07 00:06:20 rocky Exp $ Copyright (C) 2004, 2006 Rocky Bernstein @@ -101,10 +101,12 @@ main(int argc, const char *argv[]) } { - CdIo_t *p_cdio = cdio_open ("cdda.cue", DRIVER_UNKNOWN); + snprintf(psz_cuefile, sizeof(psz_cuefile)-1, + "%s/%s", TEST_DIR, "cdda.cue"); + CdIo_t *p_cdio = cdio_open (psz_cuefile, DRIVER_UNKNOWN); if (!p_cdio) { printf("Can't open cdda.cue\n"); - ret = -1; + ret = 77; } else { /* Just test performing some operations. */ driver_return_code_t drc = cdio_set_blocksize(p_cdio, 2048);