Subject: Re: bin/35943 (file(1) reports regular binaries as X11/NeWS bitmap fonts)
To: None <gnats-bugs@NetBSD.org>
From: Giles Lean <giles.lean@pobox.com>
List: netbsd-bugs
Date: 07/31/2007 09:46:40
Hi Christos,

christos@netbsd.org wrote:

> Synopsis: file(1) reports regular binaries as X11/NeWS bitmap fonts
> 
> State-Changed-From-To: open->closed
> State-Changed-By: christos@netbsd.org
> State-Changed-When: Sun, 15 Jul 2007 23:17:29 -0400
> State-Changed-Why:
> submitter verified that it is fixed

Thanks ... unfortunately, while I *thought* this was fixed, I must have
botched my testing.  After a new build with ~July 29th sources and
installation the problem is still present:

Wrong answers:

  $ file /usr/bin/file /usr/share/misc/magic /usr/share/misc/magic.mgc
  /usr/bin/file:             Symbian installation file, for NetBSD 4.0,
  dynamically linked (uses shared libs), not stripped
  /usr/share/misc/magic:     magic text file for file(1) cmd
  /usr/share/misc/magic.mgc: Infocom game data (Z-machine 241, Release
  1052 /

  # mv /usr/share/misc/magic.mgc /usr/share/misc/magic.mgc-bigendian
  # file -C -m /usr/share/misc/magic

  $ file /usr/share/misc/magic.mgc*
  /usr/share/misc/magic.mgc:           magic binary file for file(1) cmd
  (version 4) (little endian)
  /usr/share/misc/magic.mgc-bigendian: magic binary file for file(1) cmd
  (version 4) (big endian)

The 'mv' and 'file -C' are an easy workaround, at least.

Host and target platforms the same as when the PR was filed.

Can the PR be placed back in 'open' state, please?

Regards,

Giles