Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 13:23:21 -0500 (CDT)
From:      Tom Duffey <cortex@execpc.com>
To:        stable@FreeBSD.ORG
Subject:   Update magic file
Message-ID:  <Pine.LNX.4.21.0008231304090.19633-100000@linuxpower.p00t.net>

next in thread | raw e-mail | index | archive | help
This message might apply to more than -STABLE, but I can't be certain
since I haven't checked any of the other branches.

The "file" command is unable to properly identify EPS binary files.  The
following patch, taken from the magic file included in the Slackware Linux
distribution, fixes the problem.

3608a3609,3618
> # DOS EPS Binary File Header
> # From: Ed Sznyter <ews@Black.Market.NET>
> 0       belong          0xC5D0D3C6      DOS EPS Binary File
> >4      long            >0              Postscript starts at byte %d
> >>8     long            >0              length %d
> >>>12   long            >0              Metafile starts at byte %d
> >>>>16  long            >0              length %d
> >>>20   long            >0              TIFF starts at byte %d
> >>>>24  long            >0              length %d
>

Tom Duffey

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Marge, you're my wife and I love you very much.  But you're living in a
world of makebelieve.  With flowers and bells and leprechauns.  And magic
frogs with funny little hats...

		-- Homer Simpson
		   Blood Feud



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0008231304090.19633-100000>