Subject: Re: bin/36084: ambiguous file(1) "magic" mis-identifies files
To: None <pooka@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Antti Kantee <pooka@cs.hut.fi>
List: netbsd-bugs
Date: 03/27/2007 13:00:05
The following reply was made to PR bin/36084; it has been noted by GNATS.

From: Antti Kantee <pooka@cs.hut.fi>
To: gnats-bugs@NetBSD.org
Cc: christos@netbsd.org
Subject: Re: bin/36084: ambiguous file(1) "magic" mis-identifies files
Date: Tue, 27 Mar 2007 15:54:56 +0300

 On Sun Mar 25 2007 at 16:20:00 +0000, timshel@shels.net wrote:
 > # Palm OS .prc file types       
 > 60              string          libr            Palm OS dynamic library data
 > >0              string          >\0             "%s"
 > 
 > 	
 > 	The magic number is clearly not specific enough.
 > 	The net affect of this problem for me is that I cannot use
 > 	pkgsrc's subst.mk on the affected file without a very ugly
 > 	workaround to this problem.
 > 
 > >How-To-Repeat:
 > 	Run "make extract" in pkgsrc/net/proftpd (pkgsrc-2006Q4) and run
 > 	"file work/proftpd-1.3.1rc2/contrib/mod_wrap.c":
 > 
 > me@myhost ttyp1 proftpd-1.3.1rc2]$ file contrib/mod_wrap.c
 > contrib/mod_wrap.c: Palm OS dynamic library data "/*"
 
 This is a problem for -current file-4.20 also.
 
 -- 
 Antti Kantee <pooka@iki.fi>                     Of course he runs NetBSD
 http://www.iki.fi/pooka/                          http://www.NetBSD.org/
     "la qualité la plus indispensable du cuisinier est l'exactitude"