New command -file_name_limit, -as mkisofs -file_name_limit

This commit is contained in:
2015-09-17 12:12:41 +00:00
parent 44d09c30c0
commit 0c2eed9f2e
23 changed files with 582 additions and 202 deletions

View File

@ -1280,7 +1280,7 @@ int Xorriso_option_calm_drive(struct XorrisO *xorriso, char *which, int flag)
/* Option -cd alias -cdi */
int Xorriso_option_cdi(struct XorrisO *xorriso, char *iso_rr_path, int flag)
{
char *path= NULL, *eff_path= NULL;
char *path= NULL, *eff_path= NULL, *namept;
int ret;
Xorriso_alloc_meM(path, char, SfileadrL);
@ -1329,7 +1329,8 @@ int Xorriso_option_cdi(struct XorrisO *xorriso, char *iso_rr_path, int flag)
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
{ret= 0; goto ex;}
}
strcpy(xorriso->wdi, eff_path);
Xorriso_truncate_path_comps(xorriso, eff_path, path, &namept, 0);
strcpy(xorriso->wdi, namept);
Xorriso_option_pwdi(xorriso, 0);
ret= 1;