]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/isofs/cd9660/cd9660_lookup.c
xnu-792.25.20.tar.gz
[apple/xnu.git] / bsd / isofs / cd9660 / cd9660_lookup.c
index 2ecf2568eab9afc80ed340be38087d9ae5278aef..3498811ae77446e1340ec5c4ad6ece4ec898cbda 100644 (file)
@@ -191,9 +191,6 @@ cd9660_lookup(struct vnop_lookup_args *ap)
            !((len == 1 && *name == '.') || (flags & ISDOTDOT))) {
                int flags1 = UTF_PRECOMPOSED;
 
-               if (BYTE_ORDER != BIG_ENDIAN)
-                       flags1 |= UTF_REVERSE_ENDIAN;
-
                (void) utf8_decodestr(name, len, (u_int16_t*) altname, &altlen,
                                        sizeof(altname), 0, flags1);
                name = altname;