[113] in linux-announce channel archive

home help back first fref pref prev next nref lref last post

Darwin's file(1)/magic(4) version 3.15

daemon@ATHENA.MIT.EDU (Lars Wirzenius)
Mon Jan 23 10:08:03 1995

Date: Mon, 23 Jan 1995 15:10:08 +0200
From: Lars Wirzenius <wirzeniu@cc.helsinki.fi>
To: linux-activists@niksula.hut.fi, linux-announce@vger.rutgers.edu

X-Mn-Key: announce

From: Cave Newt <roe2@midway.uchicago.edu>
Subject: Darwin's file(1)/magic(4) version 3.15
Newsgroups: comp.os.linux.announce
Organization: ?
Approved: linux-announce@tc.cornell.edu (Lars Wirzenius)
Followup-to: comp.os.linux.misc
Keywords:	file, magic, /etc/magic

I have just uploaded both the stock 3.15 sources to Darwin's file/
magic and my patches against those sources and the complete /etc/magic
they produce.  (For those who have never used it, file identifies the 
types of various files.  It's particularly useful for executables, 
compressed files/archives and graphics files.)

Christos Zoulas, current maintainer of Ian Darwin's excellent file(1)
utility, released 3.15 on Saturday after I inundated him last week 
with a bunch of changes to the Magdir directory.  Today I found out
about the release when I sent him some more patches, and since they
fix a couple of bugs, I wanted to get them out immediately.

One of the bugs was my fault; I broke the Zoo entry by accident, so
that's fixed now.  Another is in the file code itself; an incorrect
typecast was truncating the printing of integer variables, which among
other things gave GIF images some very odd dimensions (e.g., 78 x 0).
There's still a bug with regard to very small files (< 35 bytes or so),
but I didn't bother to fix that (Christos said he did so for 3.16).

In addition, I added even more new entries and boosted the default buffer
size to 96KB to support self-extracting executables of various flavors.
Supposedly this could cause a performance hit, but I didn't notice any
on a 486/33.

In accordance with the request in the MAINT file, my modified file exe-
cutable is *not* included.  The modified magic file is, however, since 
I figured a lot of people would just want to replace their /etc/magic
quickly and leave the executable alone.  (It's straightforward to patch 
and compile it, however, for those with an extra 30 seconds to spare.)

I've appended the LSM entries for both the original sources and my 
patches.  (Note that Dan Quinlan's patches were already incorporated
into 3.15.  Note also that the "15" is "fifteen"; this version is the
sixth revision since 3.9.)

Greg Roelofs


Begin3
Title:		file(1):  C sources
Version:	3.15 of 21 Jan 95
Entered-date:	22 Jan 95
Description:	These are the sources to Darwin's file(1) utility and master
		magic(4) file, now maintained by Christos Zoulas.  file/magic
		are used to determine the types of various files; file prints
		a one-line summary for each argument it is given.  This version
		includes lots of updates for the magic file and a new -v option
		to file itself (version info).  See also the 3.15grr1 patches
		for a few more bugfixes.
Keywords:	file, magic, /etc/magic
Author: 	christos@deshaw.com (Christos Zoulas)
		guy@sun.uucp (Guy Harris)
		mail@sq.com (Ian F. Darwin)
Maintained-by:	christos@deshaw.com (Christos Zoulas)
Primary-site:	tesla.ee.cornell.edu /pub
		57489 file-3.15.tar.gz
Alternate-site:	sunsite.unc.edu /pub/Linux/utils/file
		57489 file-3.15.tar.gz
Copying-policy:	copyrighted freeware
End

Begin3
Title:		file(1):  GRR patches and full /etc/magic
Version:	3.15-grr1 of 22 Jan 95
Entered-date:	22 Jan 95
Description:	This package contains patches against Darwin's file(1), version
		3.15 of 21 Jan 95, and the full magic(4) file itself.  As per
		the request in the MAINT file, the modified file(1) executable
		is *not* included.  The patches correct some problems in the
		default magic file, add some new entries, fix a bug in the
		mprint() routine and boost the buffer size to 96KB in order to
		make use of some of the entries for self-extracting archives.
		file 3.15 itself is mainly notable for a reorganized magic file
		(some of it from yours truly) and a new -v option (version).
Keywords:	file, magic, /etc/magic
Author: 	christos@deshaw.com (Christos Zoulas)
		guy@sun.uucp (Guy Harris)
		mail@sq.com (Ian F. Darwin)
Maintained-by:	newt@uchicago.edu (Greg Roelofs)
Primary-site:	sunsite.unc.edu /pub/Linux/utils/file
		25559 file-3.15g1-magic-diffs.tgz
Copying-policy:	none (/etc/magic may be in public domain, judging from man page)
End


--
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember Keywords: and a short description of the software.


home help back first fref pref prev next nref lref last post