ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/file/5.19/TODO
Revision: 6684
Committed: Sun Jun 29 14:46:54 2014 UTC (9 years, 10 months ago) by laffer1
File size: 851 byte(s)
Log Message:
Vendor import of file 5.19

File Contents

# Content
1 Most TODOs live in the TODO section of doc/file.man (i.e. file(1)).
2 They are more visible there, so please add any further TODOs to that
3 file, not here. More speculative material can live here.
4
5 (This change was made when Reuben Thomas noticed that all the bugs
6 listed in the BUGS section of the man page had been fixed!)
7
8 ---
9
10 It would be nice to simplify file considerably. For example,
11 reimplement the apprentice and non-pattern magic methods in Python,
12 and compile the magic patterns to a giant regex (or something similar;
13 maybe using Ragel (http://www.complang.org/ragel/)) so that only a
14 small amount of C is needed (because fast execution is typically only
15 required for soft magic, not the more detailed information given by
16 hard-wired routines). In this regard, note that hplip, which is
17 BSD-licensed, has a magic reimplementation in Python.