Subject: Re: bin/29682
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <sigsegv@rambler.ru>
List: netbsd-bugs
Date: 03/23/2005 01:11:02
The following reply was made to PR bin/29682; it has been noted by GNATS.
From: sigsegv@rambler.ru
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: bin/29682
Date: Wed, 23 Mar 2005 01:15:44 +0000
magic files built on sparc64 machine for sparc64:
u10# file /usr/share/misc/magic*
/usr/share/misc/magic: magic text file for file(1) cmd
/usr/share/misc/magic.mgc: magic binary file for file(1) cmd
(version 2) (big endian)
/usr/share/misc/magic.mime: magic text file for file(1) cmd
/usr/share/misc/magic.mime.mgc: magic binary file for file(1) cmd
(version 2) (big endian)
magic files cross-built on i386 machine for sparc64:
u10# file /root/magics/*
/root/magics/magic: magic text file for file(1) cmd
/root/magics/magic.mgc: magic binary file for file(1) cmd (version
2) (little endian)
/root/magics/magic.mime: magic text file for file(1) cmd
/root/magics/magic.mime.mgc: magic binary file for file(1) cmd (version
2) (little endian)
I think binary files should all be 'big endian' this is what's causing
the problem