diff options
author | delphij <delphij@FreeBSD.org> | 2014-06-26 06:03:39 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-06-26 06:03:39 +0000 |
commit | cd5514ba3b318b16aa00b1048bf9160a9f28fb35 (patch) | |
tree | 5b4f7850752944df750e0c678951b78d9484b67e /contrib/file/TODO | |
parent | 8b39363d0d5f3d274de63dac41aaba59cdf00cdb (diff) | |
parent | 02573f2d7154bbe159ba99728d5db9be8a29bd9b (diff) | |
download | FreeBSD-src-cd5514ba3b318b16aa00b1048bf9160a9f28fb35.zip FreeBSD-src-cd5514ba3b318b16aa00b1048bf9160a9f28fb35.tar.gz |
MFV r267843: update file/libmagic to 5.19.
MFC after: 2 weeks
Diffstat (limited to 'contrib/file/TODO')
-rw-r--r-- | contrib/file/TODO | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/contrib/file/TODO b/contrib/file/TODO index bdfbdc4..f78893f 100644 --- a/contrib/file/TODO +++ b/contrib/file/TODO @@ -1,6 +1,17 @@ -TODOs live in the TODO section of doc/file.man (i.e. file(1)). They -are more visible there, so please add any further TODOs to that file, -not here. +Most TODOs live in the TODO section of doc/file.man (i.e. file(1)). +They are more visible there, so please add any further TODOs to that +file, not here. More speculative material can live here. (This change was made when Reuben Thomas noticed that all the bugs listed in the BUGS section of the man page had been fixed!) + +--- + +It would be nice to simplify file considerably. For example, +reimplement the apprentice and non-pattern magic methods in Python, +and compile the magic patterns to a giant regex (or something similar; +maybe using Ragel (http://www.complang.org/ragel/)) so that only a +small amount of C is needed (because fast execution is typically only +required for soft magic, not the more detailed information given by +hard-wired routines). In this regard, note that hplip, which is +BSD-licensed, has a magic reimplementation in Python. |