Bug 20812

Summary: Magic file missing EPS binary document support
Product: Base System Reporter: Thomas Duffey <tduffey>
Component: miscAssignee: David E. O'Brien <obrien>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   

Description Thomas Duffey 2000-08-24 00:30:02 UTC
	The /usr/share/misc/magic file does not contain information
	for identifying EPS binary documents.  The "file" command
	identifies such documents as "data" rather than EPS documents.

	All EPS documents created on the MACs at our location are in
	this format.

Fix: 

Apply the following patch, taken from the Slackware Linux
	distribution's magic file, to /usr/share/misc/magic or
	whatever generates this file when building the world.

	*** NOTE ***
	If patch does not come through correctly, please refer to
	http://www.wmdesign.net/~tduffey/magic.diff

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
>
How-To-Repeat: 
	Run "file binary_eps_file.eps".
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-24 09:51:45 UTC
Responsible Changed
From-To: freebsd-bugs->obrien

I keep assigning these to David because we still don't 
know what's happened between him and Christos.  David, 
if you let me know what's going on there, I might be able 
to take these off your plate. :-)
Comment 2 David E. O'Brien freebsd_committer freebsd_triage 2000-11-11 06:07:14 UTC
State Changed
From-To: open->closed

We have switched to the Christos Zoulas maintained version of `file'.