https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210715

            Bug ID: 210715
           Summary: ext[234] and ntfs detection is little endian specific
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: bro...@freebsd.org
                CC: tr...@freebsd.org

The tests to ext2, ext3, ext4, and ntfs all fail on mips64 (presumably also
sparc64).  A quick glance at the code shows no attempt to adjust the endianness
of constants before comparison.  For example this bit from ntfs.c:

#define NTFS_FILEMAGIC          ((uint32_t)(0x454C4946))
...
       if (fr->fr_hdrmagic != NTFS_FILEMAGIC)
                goto fail;

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to