Subject: bin/10712: /usr/share/misc/magic inconsistency
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/29/2000 19:24:24
>Number:         10712
>Category:       bin
>Synopsis:       /usr/share/misc/magic inconsistency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 29 19:25:00 PDT 2000
>Originator:     Jun-ichiro itojun Hagino
>Release:        20000728
System: NetBSD 1.5C NetBSD 1.5C (STARFRUIT) #79: Fri Jul 28 17:41:41 JST 2000 i386

	usr.bin/file/magdir/magic has the following line, to identify
	magic(1) data file like /usr/share/misc/magic.
0       string          #\ Magic        magic text file for file(1) cmd

	However, usr.bin/file/Header has the following content, effectively
	disables the above.
#! file
# Magic data for file(1) command.
# Machine-generated from src/cmd/file/magdir/*; edit there only!
# Format is described in magic(files), where:
# files is 5 on V7 and BSD, 4 on SV, and ?? in the SVID.

	get bored in airplane, read through /usr/share/misc/magic
	not sure.  as we do not set executable bit on /usr/share/misc/magic,
	it may make more sense to strip the first line (#! file) off.