0004-doc-manpages.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Author: Michael Piefel <piefel@debian.org>
  2. Description: FIXME, and #417511.
  3. diff -Naurp file.orig/doc/file.man file/doc/file.man
  4. --- file.orig/doc/file.man
  5. +++ file/doc/file.man
  6. @@ -55,7 +55,7 @@ meaning anything else (data is usually
  7. or non-printable).
  8. Exceptions are well-known file formats (core files, tar archives)
  9. that are known to contain binary data.
  10. -When modifying magic files or the program itself, make sure to
  11. +When adding local definitions to /etc/magic, make sure to
  12. .Em "preserve these keywords" .
  13. Users depend on knowing that all the readable files in a directory
  14. have the word
  15. @@ -99,7 +99,8 @@ The concept of a
  16. has been applied by extension to data files.
  17. Any file with some invariant identifier at a small fixed
  18. offset into the file can usually be described in this way.
  19. -The information identifying these files is read from the compiled
  20. +The information identifying these files is read from /etc/magic
  21. +and the compiled
  22. magic file
  23. .Pa __MAGIC__.mgc ,
  24. or the files in the directory
  25. @@ -434,12 +435,6 @@ will be distributed periodically.
  26. The order of entries in the magic file is significant.
  27. Depending on what system you are using, the order that
  28. they are put together may be incorrect.
  29. -If your old
  30. -.Nm
  31. -command uses a magic file,
  32. -keep the old magic file around for comparison purposes
  33. -(rename it to
  34. -.Pa __MAGIC__.orig ) .
  35. .Sh EXAMPLES
  36. .Bd -literal -offset indent
  37. $ file file.c file /dev/{wd0a,hda}