MAINT 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. $File: MAINT,v 1.9 2007/01/19 21:15:27 christos Exp $
  2. Maintenance notes:
  3. I am continuing to maintain the file command. I welcome your help,
  4. but to make my life easier I'd like to request the following:
  5. - Do not distribute changed versions.
  6. People trying to be helpful occasionally put up their hacked versions
  7. of the file command for anonymous FTP, and people all over the
  8. world get copies of the hacked versions. Within a day or two I am
  9. getting email from around the world asking me why "my" file command
  10. won't compile!!! Needless to say this detracts from the limited
  11. time I have available to work on the actual software. Therefore I
  12. ask you again to please NOT distribute your changed version. If
  13. you need to make changes, please add a patch file next to the
  14. distribution tar, and a README file that clearly explains what you
  15. are trying to fix.
  16. Thank you for your assistance and cooperation.
  17. Code Overview
  18. This is a rough idea of the control flow from the main program:
  19. file.c main()
  20. file.c process (called for each file)
  21. printf file name
  22. magic.c magic_file()
  23. fsmagic.c file_fsmagic()
  24. (handles statbuf modes for DEV)
  25. (handles statbuf modes for executable &c.
  26. reads data from file.
  27. funcs.c: file_buffer()
  28. compress.c file_zmagic()
  29. is_tar.c file_is_tar()
  30. softmagic.c file_softmagic()
  31. match() - looks for match against main magic database
  32. ascmagic.c file_ascmagic()
  33. readelf.c file_tryelf()
  34. "unknown"
  35. Christos Zoulas (see README for email address)