Made -compliance old_rr the default

This commit is contained in:
Thomas Schmitt 2009-03-12 14:16:36 +00:00
parent f11f6db9bf
commit aef4a26b99
3 changed files with 24 additions and 16 deletions

View File

@ -2,7 +2,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH XORRISO 1 "Mar 01, 2009" .TH XORRISO 1 "Mar 12, 2009"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -1591,7 +1591,8 @@ ACLs will be written according to the setting of option -acl.
If enabled by "on", generate Joliet info additional to Rock Ridge info. If enabled by "on", generate Joliet info additional to Rock Ridge info.
.TP .TP
\fB\-compliance\fR rule[:rule...] \fB\-compliance\fR rule[:rule...]
Adjust the compliance to specifications of ISO 9660 and its extensions. In some Adjust the compliance to specifications of ISO 9660 and its contemporary
extensions. In some
cases it is worth to deviate a bit in order to circumvent bugs of the intended cases it is worth to deviate a bit in order to circumvent bugs of the intended
reader system or to get inofficial extra features. reader system or to get inofficial extra features.
.br .br
@ -1624,13 +1625,15 @@ Rule keywords are:
"rec_mtime" record with ISO files the disk file's mtime and not the "rec_mtime" record with ISO files the disk file's mtime and not the
creation time of the image. creation time of the image.
.br .br
"old_rr" use Rock Ridge version 1.10 (needed if the intended reader "new_rr" use Rock Ridge version 1.12 (suitable for Linux but not for older
system does not recognize Rock Ridge 1.12 signature). This implies also FreeBSD or for Solaris). This implies "aaip_susp_1_10_off" which may be changed
by subsequent "aaip_susp_1_10".
.br
Default is "old_rr" which uses Rock Ridge version 1.10. This implies also
"aaip_susp_1_10" which may be changed by subsequent "aaip_susp_1_10_off". "aaip_susp_1_10" which may be changed by subsequent "aaip_susp_1_10_off".
.br .br
"aaip_susp_1_10" allows AAIP to be written as inofficial extension of RRIP "aaip_susp_1_10" allows AAIP to be written as inofficial extension of RRIP
rather than as official extension under SUSP-1.12. Try this if a reader program rather than as official extension under SUSP-1.12.
dislikes the official form.
.br .br
Default setting is "clear:deep_paths:long_paths:always_gmt". Default setting is "clear:deep_paths:long_paths:always_gmt".
.br .br

View File

@ -1 +1 @@
#define Xorriso_timestamP "2009.03.11.170236" #define Xorriso_timestamP "2009.03.12.141647"

View File

@ -117,7 +117,8 @@ int Xorriso_path_from_node(struct XorrisO *xorriso, IsoNode *node, int lba,
/* Default setting for -relax_compliance */ /* Default setting for -relax_compliance */
#define Xorriso_relax_compliance_defaulT \ #define Xorriso_relax_compliance_defaulT \
(isoburn_igopt_allow_deep_paths | isoburn_igopt_allow_longer_paths | \ (isoburn_igopt_allow_deep_paths | isoburn_igopt_allow_longer_paths | \
isoburn_igopt_always_gmt) isoburn_igopt_always_gmt | \
isoburn_igopt_rrip_version_1_10 | isoburn_igopt_aaip_susp_1_10 )
/* <<< Whether to allow xattr and ACL with the root node. /* <<< Whether to allow xattr and ACL with the root node.
@ -8520,6 +8521,12 @@ int Xorriso_relax_compliance(struct XorrisO *xorriso, char *mode,
} else if(l == 14 && strncmp(cpt, "always_gmt_off", l) == 0) { } else if(l == 14 && strncmp(cpt, "always_gmt_off", l) == 0) {
xorriso->relax_compliance&= ~isoburn_igopt_always_gmt; xorriso->relax_compliance&= ~isoburn_igopt_always_gmt;
} else if((l == 9 && strncmp(cpt, "rec_mtime", l) == 0) ||
(l == 12 && strncmp(cpt, "rec_mtime_on", l) == 0)) {
xorriso->relax_compliance|= isoburn_igopt_dir_rec_mtime;
} else if(l == 13 && strncmp(cpt, "rec_mtime_off", l) == 0) {
xorriso->relax_compliance&= ~isoburn_igopt_dir_rec_mtime;
} else if((l == 6 && strncmp(cpt, "old_rr", l) == 0) || } else if((l == 6 && strncmp(cpt, "old_rr", l) == 0) ||
(l == 9 && strncmp(cpt, "old_rr_on", l) == 0) || (l == 9 && strncmp(cpt, "old_rr_on", l) == 0) ||
(l == 10 && strncmp(cpt, "new_rr_off", l) == 0)) { (l == 10 && strncmp(cpt, "new_rr_off", l) == 0)) {
@ -8531,12 +8538,6 @@ int Xorriso_relax_compliance(struct XorrisO *xorriso, char *mode,
xorriso->relax_compliance&= xorriso->relax_compliance&=
~(isoburn_igopt_rrip_version_1_10 | isoburn_igopt_aaip_susp_1_10); ~(isoburn_igopt_rrip_version_1_10 | isoburn_igopt_aaip_susp_1_10);
} else if((l == 9 && strncmp(cpt, "rec_mtime", l) == 0) ||
(l == 12 && strncmp(cpt, "rec_mtime_on", l) == 0)) {
xorriso->relax_compliance|= isoburn_igopt_dir_rec_mtime;
} else if(l == 13 && strncmp(cpt, "rec_mtime_off", l) == 0) {
xorriso->relax_compliance&= ~isoburn_igopt_dir_rec_mtime;
} else if((l == 14 && strncmp(cpt, "aaip_susp_1_10", l) == 0) || } else if((l == 14 && strncmp(cpt, "aaip_susp_1_10", l) == 0) ||
(l == 17 && strncmp(cpt, "aaip_susp_1_10_on", l) == 0) || (l == 17 && strncmp(cpt, "aaip_susp_1_10_on", l) == 0) ||
(l == 18 && strncmp(cpt, "aaip_susp_1_12_off", l) == 0)) { (l == 18 && strncmp(cpt, "aaip_susp_1_12_off", l) == 0)) {
@ -8607,8 +8608,12 @@ int Xorriso_get_relax_text(struct XorrisO *xorriso, char mode[1024],
strcat(mode, ":old_rr"); strcat(mode, ":old_rr");
if(!(r & isoburn_igopt_aaip_susp_1_10)) if(!(r & isoburn_igopt_aaip_susp_1_10))
strcat(mode, ":aaip_susp_1_10_off"); strcat(mode, ":aaip_susp_1_10_off");
} else if(r & isoburn_igopt_aaip_susp_1_10) } else {
strcat(mode, ":new_rr");
if(r & isoburn_igopt_aaip_susp_1_10)
strcat(mode, ":aaip_susp_1_10"); strcat(mode, ":aaip_susp_1_10");
}
return(1 + (r == Xorriso_relax_compliance_defaulT)); return(1 + (r == Xorriso_relax_compliance_defaulT));
} }