two routines are buggy. Back out until they've been fixed.

This commit is contained in:
rocky
2003-08-31 01:32:05 +00:00
parent 7a0fb58e38
commit efafb14ad8
2 changed files with 12 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/* /*
$Id: iso9660.h,v 1.2 2003/08/31 01:01:40 rocky Exp $ $Id: iso9660.h,v 1.3 2003/08/31 01:32:05 rocky Exp $
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org> Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com> Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
@@ -129,11 +129,13 @@ iso9660_pathtable_m_add_entry (void *pt, const char name[], uint32_t extent,
uint8_t uint8_t
iso9660_get_dir_len(const iso_directory_record_t *idr); iso9660_get_dir_len(const iso_directory_record_t *idr);
#if FIXME
uint8_t uint8_t
iso9660_get_dir_size(const iso_directory_record_t *idr); iso9660_get_dir_size(const iso_directory_record_t *idr);
uint8_t lsn_t
iso9660_get_dir_extent(const iso_directory_record_t *idr); iso9660_get_dir_extent(const iso_directory_record_t *idr);#
#endif
uint8_t uint8_t
iso9660_get_pvd_type(const pvd_t *pvd); iso9660_get_pvd_type(const pvd_t *pvd);

View File

@@ -1,5 +1,5 @@
/* /*
$Id: iso9660.c,v 1.2 2003/08/31 01:01:40 rocky Exp $ $Id: iso9660.c,v 1.3 2003/08/31 01:32:05 rocky Exp $
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org> Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com> Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
@@ -37,7 +37,7 @@
#include "cdio_assert.h" #include "cdio_assert.h"
#include "bytesex.h" #include "bytesex.h"
static const char _rcsid[] = "$Id: iso9660.c,v 1.2 2003/08/31 01:01:40 rocky Exp $"; static const char _rcsid[] = "$Id: iso9660.c,v 1.3 2003/08/31 01:32:05 rocky Exp $";
/* some parameters... */ /* some parameters... */
#define SYSTEM_ID "CD-RTOS CD-BRIDGE" #define SYSTEM_ID "CD-RTOS CD-BRIDGE"
@@ -646,12 +646,14 @@ iso9660_pathname_isofy (const char pathname[], uint16_t version)
return strdup (tmpbuf); return strdup (tmpbuf);
} }
uint8_t #if FIXME
lsn_t
iso9660_get_dir_extent(const iso_directory_record_t *idr) iso9660_get_dir_extent(const iso_directory_record_t *idr)
{ {
if (NULL == idr) return 0; if (NULL == idr) return 0;
return from_733(idr->extent); return from_733(idr->extent);
} }
#endif
uint8_t uint8_t
iso9660_get_dir_len(const iso_directory_record_t *idr) iso9660_get_dir_len(const iso_directory_record_t *idr)
@@ -660,12 +662,14 @@ iso9660_get_dir_len(const iso_directory_record_t *idr)
return idr->length; return idr->length;
} }
#if FIXME
uint8_t uint8_t
iso9660_get_dir_size(const iso_directory_record_t *idr) iso9660_get_dir_size(const iso_directory_record_t *idr)
{ {
if (NULL == idr) return 0; if (NULL == idr) return 0;
return from_733(idr->size); return from_733(idr->size);
} }
#endif
uint8_t uint8_t
iso9660_get_pvd_type(const pvd_t *pvd) iso9660_get_pvd_type(const pvd_t *pvd)