diff options
author | Ulf Lilleengen <lulf@FreeBSD.org> | 2008-11-26 13:09:45 +0000 |
---|---|---|
committer | Ulf Lilleengen <lulf@FreeBSD.org> | 2008-11-26 13:09:45 +0000 |
commit | f7b8cfa890b7b2f2f08cf3b5de77a320d261bfee (patch) | |
tree | 6a058a5372715071dfc0620c4da6635968a5998d /sys/fs | |
parent | a7df09e8c908fe5417610c0f05579ae45b830b8c (diff) | |
download | src-f7b8cfa890b7b2f2f08cf3b5de77a320d261bfee.tar.gz src-f7b8cfa890b7b2f2f08cf3b5de77a320d261bfee.zip |
- Support IEEE_P1282 and IEEE_1282 tags in the rock ridge extensions record.
PR: kern/128942
Submitted by: "J.R. Oldroyd" <fbsd - at - opal.com>
Notes
Notes:
svn path=/head/; revision=185334
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/cd9660/cd9660_rrip.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_rrip.c b/sys/fs/cd9660/cd9660_rrip.c index 670ca30f346b..739972bded15 100644 --- a/sys/fs/cd9660/cd9660_rrip.c +++ b/sys/fs/cd9660/cd9660_rrip.c @@ -472,8 +472,12 @@ cd9660_rrip_extref(p,ana) ISO_RRIP_EXTREF *p; ISO_RRIP_ANALYZE *ana; { - if (isonum_711(p->len_id) != 10 - || bcmp((char *)p + 8,"RRIP_1991A",10) + if ( ! ((isonum_711(p->len_id) == 10 + && bcmp((char *)p + 8,"RRIP_1991A",10) == 0) + || (isonum_711(p->len_id) == 10 + && bcmp((char *)p + 8,"IEEE_P1282",10) == 0) + || (isonum_711(p->len_id) == 9 + && bcmp((char *)p + 8,"IEEE_1282", 9) == 0)) || isonum_711(p->version) != 1) return 0; ana->fields &= ~ISO_SUSP_EXTREF; |