New -volume_date "all_file_dates" pseudo-timestamp "set_to_mtime"

This commit is contained in:
2016-08-20 10:28:57 +00:00
parent ff65d7bb19
commit 49c92cb3ba
10 changed files with 213 additions and 181 deletions

View File

@ -1924,13 +1924,9 @@ not_enough_args:;
if(i+1>=argc)
goto not_enough_args;
i++;
if(strlen(argv[i]) >= sizeof(xorriso->all_file_dates)) {
sprintf(xorriso->info_text, "--set_all_file_dates: time text too long");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "SORRY", 0);
ret= 0; goto problem_handler_2;
}
strcpy(xorriso->all_file_dates, argv[i]);
ret= Xorriso_option_volume_date(xorriso, "all_file_dates", argv[i], 0);
if(ret <= 0)
goto problem_handler_2;
} else if(strcmp(argpt, "-input-charset")==0) {
i++;
/* was already handled in first argument scan */;