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

@ -2106,7 +2106,9 @@ int Xorriso_option_volume_date(struct XorrisO *xorriso,
if(timestring[0] == 0 || strcmp(timestring, "default") == 0 ||
strcmp(timestring, "overridden") == 0 ){
t= 0;
} else if(strcmp(time_type, "uuid") == 0) {
} else if(strcmp(time_type, "uuid") == 0 ||
(strcmp(time_type, "all_file_dates") == 0 &&
strcmp(timestring, "set_to_mtime") == 0)) {
t= time(NULL); /* Just to have some that is not 0 */
} else {
ret= Xorriso_convert_datestring(xorriso, "-volume_date",