Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2005 22:32:39 -0400
From:      "Dan Langille" <dan@langille.org>
To:        Frank Mayhar <frank@exit.com>
Cc:        ports@freebsd.org
Subject:   Re: devel/kscope/Makefile is not ASCII
Message-ID:  <42DC2E07.6407.F8F4CEA@localhost>
In-Reply-To: <1121740037.11459.2.camel@realtime.exit.com>
References:  <42DC2B57.27763.F84D077@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 Jul 2005 at 19:27, Frank Mayhar wrote:

> On Mon, 2005-07-18 at 22:21 -0400, Dan Langille wrote:
> > [dan@nezlok:/usr] $ file ports/devel/kscope/Makefile
> > ports/devel/kscope/Makefile: Apple Old Partition data block size: 
> > 21117 first type: HTML/en/${PORTNAME}, number of blocks: 1935896432,
> > 
> > Several others have tested their ports tree and found similar 
> > results.  I've tried both the base system file and the one from 
> > ports.  Both give similar results.
> > 
> > Any ideas why this file is so special?
> 
> Well, checking /usr/share/misc/magic, a file that identifies as "Apple
> Old Partition" has a "TS" at offset 0x200.  Considering that PORTSDIR
> occurs twice in the file, at a location that could well be offset 0x200,
> I would say that it's entirely coincidence.
> 
> But maybe file(1) should try a little harder?

As a test, I put a space at the top of the Makefile:

$ file ports/devel/kscope/Makefile
ports/devel/kscope/Makefile: ASCII text

go figure....
-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42DC2E07.6407.F8F4CEA>