Implemented -as mkisofs option -relaxed-filenames

This commit is contained in:
2012-03-22 10:33:24 +00:00
parent a9beb1ed24
commit bfa7fd0cdf
5 changed files with 66 additions and 38 deletions

View File

@ -654,7 +654,7 @@ int Xorriso_genisofs_ignore(struct XorrisO *xorriso, char *whom,
"-cache-inodes", "-check-oldnames",
"-L", "-no-bak", "-no-cache-inodes",
"-no-split-symlink-components", "-no-split-symlink-fields", "-nobak",
"-force-rr", "-relaxed-filenames", "-T",
"-force-rr", "-T",
"-no-iso-translate",
""
};
@ -723,6 +723,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -U, -untranslated-filenames Allow Untranslated filenames (for HPUX & AIX - violates ISO9660).",
" -untranslated_name_len LEN Allow up to LEN (1..96) name characters (heavily violates ISO9660).",
" -allow-lowercase Allow lower case characters in addition to the current character set (violates ISO9660)",
" -relaxed-filenames Allow 7 bit ASCII except lower case characters (violates ISO9660)",
" -d, -omit-period Omit trailing periods from filenames (violates ISO9660)",
" -l, -full-iso9660-filenames Allow full 31 character filenames for ISO9660 names",
" -max-iso9660-filenames Allow 37 character filenames for ISO9660 names (violates ISO9660)",
@ -1503,7 +1504,8 @@ not_enough_args:;
Xorriso_relax_compliance(xorriso, "no_force_dots", 0);
} else if(strcmp(argpt, "-allow-lowercase") == 0) {
Xorriso_relax_compliance(xorriso, "lowercase", 0);
} else if(strcmp(argpt, "-relaxed-filenames") == 0) {
Xorriso_relax_compliance(xorriso, "7bit_ascii", 0);
} else if(strcmp(argpt, "-hide") == 0 ||
strcmp(argpt, "-hide-list") == 0 ||
strcmp(argpt, "-hide-joliet") == 0 ||