|
|
/* | /* |
$Id: cd-info.c,v 1.150 2007/12/30 15:09:00 rocky Exp $ |
$Id: cd-info.c,v 1.151 2008/01/03 14:39:29 rocky Exp $ |
| |
Copyright (C) 2003, 2004, 2005, 2007 Rocky Bernstein <rocky@gnu.org> |
Copyright (C) 2003, 2004, 2005, 2007, 2008 Rocky Bernstein <rocky@gnu.org> |
Copyright (C) 1996, 1997, 1998 Gerd Knorr <kraxel@bytesex.org> | Copyright (C) 1996, 1997, 1998 Gerd Knorr <kraxel@bytesex.org> |
and Heiko Eißfeldt <heiko@hexco.de> | and Heiko Eißfeldt <heiko@hexco.de> |
| |
|
|
iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); | iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); |
char *psz_iso_name = p_statbuf->filename; | char *psz_iso_name = p_statbuf->filename; |
char _fullname[4096] = { 0, }; | char _fullname[4096] = { 0, }; |
char *translated_name = (char *) alloca(strlen(psz_iso_name+1)); |
char *translated_name = (char *) alloca(strlen(psz_iso_name)+1); |
| |
if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { | if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { |
iso9660_name_translate_ext(psz_iso_name, translated_name, | iso9660_name_translate_ext(psz_iso_name, translated_name, |
|
|
/* | /* |
$Id: iso-info.c,v 1.36 2007/12/30 15:09:00 rocky Exp $ |
$Id: iso-info.c,v 1.37 2008/01/03 14:39:29 rocky Exp $ |
| |
Copyright (C) 2004, 2005, 2006 Rocky Bernstein <rocky@panix.com> | Copyright (C) 2004, 2005, 2006 Rocky Bernstein <rocky@panix.com> |
| |
|
|
iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); | iso9660_stat_t *p_statbuf = _cdio_list_node_data (entnode); |
char *psz_iso_name = p_statbuf->filename; | char *psz_iso_name = p_statbuf->filename; |
char _fullname[4096] = { 0, }; | char _fullname[4096] = { 0, }; |
char *translated_name = (char *) alloca(strlen(psz_iso_name+1)); |
char *translated_name = (char *) alloca(strlen(psz_iso_name)+1); |
| |
if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { | if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) { |
iso9660_name_translate_ext(psz_iso_name, translated_name, | iso9660_name_translate_ext(psz_iso_name, translated_name, |