New -volume_date mode "all_file_dates"

This commit is contained in:
2016-08-16 13:13:05 +00:00
parent adcd2386eb
commit bda4b37e97
7 changed files with 52 additions and 23 deletions

View File

@ -2133,6 +2133,15 @@ int Xorriso_option_volume_date(struct XorrisO *xorriso,
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "DEBUG", 0);
}
} else if(strcmp(time_type, "all_file_dates") == 0) {
if(t == 0) {
xorriso->all_file_dates[0]= 0;
ret= 1; goto ex;
}
strncpy(xorriso->all_file_dates, timestring,
sizeof(xorriso->all_file_dates) - 1);
xorriso->all_file_dates[sizeof(xorriso->all_file_dates) - 1]= 0;
} else if(strcmp(time_type, "c") == 0) {
xorriso->vol_creation_time= t;
} else if(strcmp(time_type, "m") == 0) {