| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | $File: MAINT,v 1.10 2008/02/05 19:08:11 christos Exp $Maintenance notes:I am continuing to maintain the file command. I welcome your help,but to make my life easier I'd like to request the following:- Do not distribute changed versions.People trying to be helpful occasionally put up their hacked versionsof the file command for anonymous FTP, and people all over theworld get copies of the hacked versions.  Within a day or two I amgetting email from around the world asking me why "my" file commandwon't compile!!! Needless to say this detracts from the limitedtime I have available to work on the actual software. Therefore Iask you again to please NOT distribute your changed version. Ifyou need to make changes, please add a patch file next to thedistribution tar, and a README file that clearly explains what youare trying to fix.Thank you for your assistance and cooperation.Code OverviewThis is a rough idea of the control flow from the main program:file.c	main()file.c	process (called for each file)		printf file namemagic.c		magic_file()fsmagic.c		file_fsmagic()				(handles statbuf modes for DEV)			(handles statbuf modes for executable &c.			reads data from file.funcs.c:		file_buffer()compress.c			file_zmagic()is_tar.c			file_is_tar()softmagic.c			file_softmagic()						match() - looks for match against main magic databaseascmagic.c			file_ascmagic()readelf.c		file_tryelf()				"unknown"Christos Zoulas (see README for email address)
 |