New -as mkisofs option -joliet-long

This commit is contained in:
Thomas Schmitt 2010-10-27 06:38:29 +00:00
parent bd82238bbe
commit aee0323fe4
2 changed files with 8 additions and 4 deletions

View File

@ -617,7 +617,7 @@ int Xorriso_genisofs_ignore(struct XorrisO *xorriso, char *whom,
static char ignored_arg0_options[][41]= { static char ignored_arg0_options[][41]= {
"-allow-leading-dots", "-ldots", "-allow-multidot", "-allow-leading-dots", "-ldots", "-allow-multidot",
"-cache-inodes", "-no-cache-inodes", "-check-oldnames", "-D", "-cache-inodes", "-no-cache-inodes", "-check-oldnames", "-D",
"-joliet-long", "-L", "-max-iso9660-filenames", "-nobak", "-L", "-max-iso9660-filenames", "-nobak",
"-no-bak", "-force-rr", "-relaxed-filenames", "-T", "-no-bak", "-force-rr", "-relaxed-filenames", "-T",
"-no-iso-translate", "-no-iso-translate",
"" ""
@ -684,6 +684,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -output-charset CHARSET Output charset for file name conversion", " -output-charset CHARSET Output charset for file name conversion",
" -iso-level LEVEL Set ISO9660 conformance level (1..3)", " -iso-level LEVEL Set ISO9660 conformance level (1..3)",
" -J, -joliet Generate Joliet directory information", " -J, -joliet Generate Joliet directory information",
" -joliet-long Allow Joliet file names to be 103 Unicode characters",
" -U, -untranslated-filenames Allow Untranslated filenames (for HPUX & AIX - violates ISO9660).", " -U, -untranslated-filenames Allow Untranslated filenames (for HPUX & AIX - violates ISO9660).",
" -allow-lowercase Allow lower case characters in addition to the current character set (violates ISO9660)", " -allow-lowercase Allow lower case characters in addition to the current character set (violates ISO9660)",
" -d, -omit-period Omit trailing periods from filenames (violates ISO9660)", " -d, -omit-period Omit trailing periods from filenames (violates ISO9660)",
@ -1134,6 +1135,10 @@ illegal_c:;
lower_r= 1; lower_r= 1;
} else if(strcmp(argv[i], "-J")==0 || strcmp(argv[i], "-joliet")==0) { } else if(strcmp(argv[i], "-J")==0 || strcmp(argv[i], "-joliet")==0) {
xorriso->do_joliet= 1; xorriso->do_joliet= 1;
} else if(strcmp(argv[i], "-joliet-long")==0) {
ret= Xorriso_option_compliance(xorriso, "joliet_long_paths", 0);
if(ret<=0)
goto problem_handler_2;
} else if(strcmp(argv[i], "-graft-points")==0) { } else if(strcmp(argv[i], "-graft-points")==0) {
xorriso->allow_graft_points= 1; xorriso->allow_graft_points= 1;
} else if(strcmp(argv[i], "-path-list")==0 || } else if(strcmp(argv[i], "-path-list")==0 ||
@ -1416,7 +1421,6 @@ problem_handler_2:;
} }
if(do_print_size) { if(do_print_size) {
ret= Xorriso_option_print_size(xorriso, 1); ret= Xorriso_option_print_size(xorriso, 1);
if(ret<=0)
goto ex; goto ex;
} }
if(lower_r) { if(lower_r) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.10.27.063628" #define Xorriso_timestamP "2010.10.27.063705"