New -compliance rules rrip_tf_year0 and rrip_tf_1900

This commit is contained in:
2025-09-16 21:10:22 +02:00
parent 0b7cbd3511
commit eb6c78e6a1
5 changed files with 93 additions and 66 deletions

View File

@@ -653,7 +653,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
"-part_like_isohybrid", "--zisofs-version-2", "--zisofs2-susp-z2",
"--zisofs2-susp-zf", "-dvd-audio", "-dvd-hybrid", "-long-rr-time",
"-no-long-rr-time", "-short-rr-time", "-ignore-error", "-data-change-warn",
"-genisoimage_completion",
"-genisoimage_completion", "-rr-time-year0",
""
};
static char arg1_options[][41]= {
@@ -967,6 +967,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -long-rr-time Use long Rock Ridge time format",
" -short-rr-time Enable use of short Rock Ridge time format",
" -no-long-rr-time Enable use of short Rock Ridge time format",
" -rr-time-year0 Enable writing of timestamps as low as year 0",
" -uid uid Make the owner of all files this uid.",
" -gid gid Make the group owner of all files this gid.",
" -o FILE, -output FILE Set output file name",
@@ -2580,6 +2581,9 @@ rr_reloc_dir:;
strcmp(argpt, "-short-rr-time") == 0) {
Xorriso_relax_compliance(xorriso, "rrip_tf_short", 0);
} else if(strcmp(argpt, "-rr-time-year0") == 0) {
Xorriso_relax_compliance(xorriso, "rrip_tf_year0", 0);
} else if(strcmp(argpt, "-log-file") == 0 ||
strcmp(argpt, "-file_name_limit") == 0) {
i+= 1;