int isofs_name_translate(struct iso_directory_record *de, char *new, struct inode *inode)
{ char * old = de->name; int len = de->name_len[0]; int i;
for (i = 0; i < len; i++) { unsignedchar c = old[i]; if (!c) break;
if (c >= 'A' && c <= 'Z')
c |= 0x20; /* lower case */
/* Drop trailing '.;1' (ISO 9660:1988 7.5.1 requires period) */ if (c == '.' && i == len - 3 && old[i + 1] == ';' && old[i + 2] == '1') break;
/* Drop trailing ';1' */ if (c == ';' && i == len - 2 && old[i + 1] == '1') break;
/* Convert remaining ';' to '.' */ /* Also '/' to '.' (broken Acorn-generated ISO9660 images) */ if (c == ';' || c == '/')
c = '.';
new[i] = c;
} return i;
}
/* Acorn extensions written by Matthew Wilcox <willy@infradead.org> 1998 */ int get_acorn_filename(struct iso_directory_record *de, char *retname, struct inode *inode)
{ int std; unsignedchar *chr; int retnamlen = isofs_name_translate(de, retname, inode);
/* Handle the case of the '.' directory */ if (de->name_len[0] == 1 && de->name[0] == 0) { if (!dir_emit_dot(file, ctx)) break;
ctx->pos += de_len; continue;
}
len = 0;
/* Handle the case of the '..' directory */ if (de->name_len[0] == 1 && de->name[0] == 1) { if (!dir_emit_dotdot(file, ctx)) break;
ctx->pos += de_len; continue;
}
/* Handle everything else. Do name translation if there
is no Rock Ridge NM field. */
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.17Bemerkung:
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.